Commit 257a1d0f authored by Benjamin Peterson's avatar Benjamin Peterson

2.x syntax

parent 4ec450d3
...@@ -1173,7 +1173,7 @@ def main(srcfile): ...@@ -1173,7 +1173,7 @@ def main(srcfile):
write = True write = True
try: try:
fp = open(p, "r") fp = open(p, "r")
except IOError as e: except IOError, e:
if e.errno != errno.ENOENT: if e.errno != errno.ENOENT:
raise raise
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment