mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
parent
6a7a49c631
commit
8b33dd8e54
21 changed files with 56 additions and 56 deletions
|
@ -70,7 +70,7 @@ def process(filename, listnames):
|
|||
def processdir(dir, listnames):
|
||||
try:
|
||||
names = os.listdir(dir)
|
||||
except os.error as msg:
|
||||
except OSError as msg:
|
||||
sys.stderr.write("Can't list directory: %s\n" % dir)
|
||||
return 1
|
||||
files = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue