Skip to content
Snippets Groups Projects
Commit 6db405cd authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

python3: futurize step1

parent 6bee2ffa
No related branches found
No related tags found
No related merge requests found
......@@ -551,7 +551,7 @@ class XmlParser(object):
logging.exception("failure when parsing %s", self.mainFileUri)
backend.finishedParsingSession(
parserStatus = "ParseFailure",
parserErrors = ["exception: %s" % sys.exc_value]
parserErrors = ["exception: %s" % sys.exc_info()[1]]
)
else:
backend.finishedParsingSession(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment