Better calendar handling, XML parsing in TextDoc

svn: r579
This commit is contained in:
Don Allingham
2001-11-24 15:39:02 +00:00
parent 41986c1fcb
commit f9e27dee41
4 changed files with 151 additions and 328 deletions

View File

@@ -454,16 +454,12 @@ class StyleSheetList:
def parse(self):
try:
f = open(self.file,"r")
parser = make_parser()
parser.setContentHandler(SheetParser(self))
parser.parse(self.file)
except:
return
parser = make_parser()
parser.setContentHandler(SheetParser(self))
parser.parse(f)
print "could not parse file"
f.close()
#------------------------------------------------------------------------
#
#