From 106666cd4853d3d9d05b8e296df5e6c18ad86862 Mon Sep 17 00:00:00 2001 From: David Hampton Date: Tue, 18 Dec 2001 06:44:36 +0000 Subject: [PATCH] Don't complain if report style files don't exist. svn: r633 --- gramps/src/TextDoc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gramps/src/TextDoc.py b/gramps/src/TextDoc.py index 526f6b371..a1e613454 100644 --- a/gramps/src/TextDoc.py +++ b/gramps/src/TextDoc.py @@ -457,6 +457,8 @@ class StyleSheetList: parser = make_parser() parser.setContentHandler(SheetParser(self)) parser.parse(self.file) + except IOError: + pass except: print "could not parse file"