SelectObject support

svn: r6224
This commit is contained in:
Don Allingham
2006-03-29 17:56:11 +00:00
parent 817ead70e4
commit d49a5aa8ef
5 changed files with 57 additions and 25 deletions

View File

@@ -2312,9 +2312,10 @@ class GenericFilterList:
def load(self):
try:
parser = make_parser()
parser.setContentHandler(FilterParser(self))
parser.parse(self.file)
if os.path.isfile(self.file):
parser = make_parser()
parser.setContentHandler(FilterParser(self))
parser.parse(self.file)
except (IOError,OSError):
pass
except SAXParseException: