Moved to a single date for addresses instead of start/stop dates

svn: r54
This commit is contained in:
Don Allingham
2001-05-23 22:18:12 +00:00
parent 20ea2046d5
commit bb3009fe65
3 changed files with 35 additions and 26 deletions

View File

@@ -114,12 +114,18 @@ def loadData(database, filename, callback):
parser.parse(xml_file)
except xml.sax.SAXParseException:
GnomeErrorDialog(_("%s is a corrupt file") % filename)
import traceback
traceback.print_exc()
return 0
except IOError,msg:
GnomeErrorDialog(_("Error reading %s") % filename + "\n" + str(msg))
import traceback
traceback.print_exc()
return 0
except:
GnomeErrorDialog(_("Error reading %s") % filename)
import traceback
traceback.print_exc()
return 0