Ticket #42972: patch-ezodf-document.py.diff
File patch-ezodf-document.py.diff, 498 bytes (added by Mathias.Laurin+macports.org@…, 11 years ago) |
---|
-
ezodf/document.py
old new 39 39 fm = ByteStreamManager(filename) 40 40 else: 41 41 try: 42 xmlnode = etree.parse(filename) 42 xmlnode = etree.parse(filename).getroot() 43 43 return FlatXMLDocument(filename=filename, xmlnode=xmlnode) 44 44 except etree.ParseError: 45 45 raise IOError("File '%s' is neither a zip-package nor a flat " \