Show More
@@ -232,7 +232,7 def statfiles(files): | |||||
232 | try: |
|
232 | try: | |
233 | dmap = dict([(normcase(n), s) |
|
233 | dmap = dict([(normcase(n), s) | |
234 | for n, k, s in osutil.listdir(dir, True) |
|
234 | for n, k, s in osutil.listdir(dir, True) | |
235 | if getkind(s) in _wantedkinds]) |
|
235 | if getkind(s.st_mode) in _wantedkinds]) | |
236 | except OSError, err: |
|
236 | except OSError, err: | |
237 | # handle directory not found in Python version prior to 2.5 |
|
237 | # handle directory not found in Python version prior to 2.5 | |
238 | # Python <= 2.4 returns native Windows code 3 in errno |
|
238 | # Python <= 2.4 returns native Windows code 3 in errno |
General Comments 0
You need to be logged in to leave comments.
Login now