diff options
Diffstat (limited to 'Doc/tools/sgmlconv/esistools.py')
-rw-r--r-- | Doc/tools/sgmlconv/esistools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/sgmlconv/esistools.py b/Doc/tools/sgmlconv/esistools.py index 833fea171c..6dc5eaa8a1 100644 --- a/Doc/tools/sgmlconv/esistools.py +++ b/Doc/tools/sgmlconv/esistools.py @@ -139,7 +139,7 @@ class ESISReader(xml.sax.xmlreader.XMLReader): def _get_token(self, fp): try: line = fp.readline() - except IOError, e: + except IOError as e: e = SAXException("I/O error reading input stream", e) self.getErrorHandler().fatalError(e) return |