* 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 3fb2a191a0
commit bec0ca3155
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
2006-10-07 Alex Roitman <shura@gramps-project.org> 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/LdsUtils.py (temples): Correct code for San Antonio.
* src/GrampsDb/_WriteGedcom.py * src/GrampsDb/_WriteGedcom.py
(GedcomWriterOptionBox.get_option_box): Add custom filters to the (GedcomWriterOptionBox.get_option_box): Add custom filters to the

View File

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