Run 2to3 utility
This commit is contained in:
parent
e8d4809bc5
commit
491040ea72
12 changed files with 26 additions and 26 deletions
|
|
@ -16,7 +16,7 @@ def unlink(f):
|
|||
"""
|
||||
try:
|
||||
os.unlink(f)
|
||||
except OSError, e:
|
||||
except OSError as e:
|
||||
if e.errno == errno.ENOENT:
|
||||
pass # it doesn't exist, that's what you asked for
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue