* src/plugins/BookReport.py (BookList.parse): Catch ValueError

exception (coming from urllib2).


svn: r7367
This commit is contained in:
Alex Roitman 2006-10-08 02:38:51 +00:00
parent 3ea171cd8f
commit d8110a2f34
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
2006-10-07 Alex Roitman <shura@gramps-project.org>
* src/plugins/BookReport.py (BookList.parse): Catch ValueError
exception (coming from urllib2).
* src/LdsUtils.py (temples): Correct code for San Antonio.
* src/GrampsDb/_WriteGedcom.py
(GedcomWriterOptionBox.get_option_box): Add custom filters to the

View File

@ -401,7 +401,7 @@ class BookList:
p = make_parser()
p.setContentHandler(BookParser(self))
p.parse(self.file)
except (IOError,OSError,SAXParseException):
except (IOError,OSError,ValueError,SAXParseException):
pass