diff options
-rw-r--r-- | Lib/posixpath.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/posixpath.py b/Lib/posixpath.py index cc0e4cb..a603e9e 100644 --- a/Lib/posixpath.py +++ b/Lib/posixpath.py @@ -263,9 +263,7 @@ of all the files and subdirs in directory "d". except os.error: return func(arg, top, names) - exceptions = ('.', '..') for name in names: - if name not in exceptions: name = join(top, name) st = os.lstat(name) if stat.S_ISDIR(st[stat.ST_MODE]): |