Catch OSError in addition to IOError on attempting to load the xml file

svn: r772
This commit is contained in:
Don Allingham 2002-02-14 02:34:52 +00:00
parent 28a3789763
commit 11df129422

View File

@ -479,8 +479,8 @@ class StyleSheetList:
parser.parse(self.file)
except IOError:
pass
# except:
# print "could not parse file"
except OSError:
pass
#------------------------------------------------------------------------
#