diff --git a/ChangeLog b/ChangeLog index f4900ec6c..cee62b533 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2004-05-15 Alex Roitman * src/plugins/RelGraph.py (_write_graph_record): Bug fixes. * src/docgen/RTFDoc.py: Typo. + * src/ReadXML.py: Typo. 2004-05-13 Alex Roitman * src/RelLib.py (probably_alive): Typos. diff --git a/src/ReadXML.py b/src/ReadXML.py index 83380892d..ab0d90ebc 100644 --- a/src/ReadXML.py +++ b/src/ReadXML.py @@ -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."