mirror of
https://github.com/python/cpython.git
synced 2025-10-07 07:31:46 +00:00
Get rig of EnvironmentError (#16705)
This commit is contained in:
parent
6eda46de99
commit
3438fa496d
16 changed files with 34 additions and 35 deletions
|
@ -209,7 +209,7 @@ def main():
|
|||
with (sys.stdin if args.flist=='-' else open(args.flist)) as f:
|
||||
for line in f:
|
||||
compile_dests.append(line.strip())
|
||||
except EnvironmentError:
|
||||
except OSError:
|
||||
print("Error reading file list {}".format(args.flist))
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue