mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +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
|
||||
try:
|
||||
fp = open(p, "r")
|
||||
except IOError as e:
|
||||
except IOError, e:
|
||||
if e.errno != errno.ENOENT:
|
||||
raise
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue