In Python 2.6+ you should use `xml.sax.SAXParseException as e` instead of the comma.