* src/plugins/BookReport.py (BookList.parse): Catch ValueError
exception (coming from urllib2). svn: r7367
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user