From 4ebc9cf846afb5955ba41cc4ce7bdc8c7682e096 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sun, 6 Apr 2008 04:59:18 +0000 Subject: [PATCH] 0002015: Trying to select items to produce a book report - error message received. svn: r10497 --- src/plugins/BookReport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index 6dd573448..140184f04 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -490,7 +490,8 @@ class BookList: the_file = open(self.file) p.parse(the_file) the_file.close() - except (IOError,OSError,ValueError,SAXParseException): + except (IOError, OSError, ValueError, SAXParseException, KeyError, \ + AttributeError): pass