mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
2.x syntax
This commit is contained in:
parent
4ec450d3c7
commit
257a1d0f28
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue