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

2.x syntax

parent 4ec450d3
......@@ -1173,7 +1173,7 @@ def main(srcfile):
write = True
try:
fp = open(p, "r")
except IOError as e:
except IOError, e:
if e.errno != errno.ENOENT:
raise
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