diff --git a/src/TextDoc.py b/src/TextDoc.py index 22af3d7bd..bc4462335 100644 --- a/src/TextDoc.py +++ b/src/TextDoc.py @@ -479,8 +479,8 @@ class StyleSheetList: parser.parse(self.file) except IOError: pass -# except: -# print "could not parse file" + except OSError: + pass #------------------------------------------------------------------------ #