Browse Source

fixing bad formed exception in Utility

main
Julien Iguchi-Cartigny 10 years ago
parent
commit
68d9199a19
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wstools/Utility.py

+ 1
- 1
wstools/Utility.py View File

@@ -665,7 +665,7 @@ class DOM:

try:
result = self.loadDocument(file)
except Exception, ex:
except Exception as ex:
file.close()
raise ParseError(('Failed to load document %s' % url,) + ex.args)
else:


Loading…
Cancel
Save