* src/ReadXML.py: Typo.

svn: r3171
This commit is contained in:
Alex Roitman
2004-05-16 05:34:20 +00:00
parent eeca791968
commit 682c4e0217
2 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,7 @@ def importData(database, filename, callback,cl=0):
import traceback
traceback.print_exc()
return 0
except ExpatError, msg:
except xml.parsers.expat.ExpatError, msg:
if cl:
print "Error reading %s" % filename
print "The file is probably either corrupt or not a valid GRAMPS database."