diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-03-30 08:04:49 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-03-30 08:04:49 +0200 |
commit | 7e66881ccc78ffc02f3bce0b96f594233ecf9d80 (patch) | |
tree | 5659e695a3b64e3d7aec811d0f341f0c0e1da97f | |
parent | 2f4197641d994486784912a9cad66ecf174fdc65 (diff) | |
download | pep8-7e66881ccc78ffc02f3bce0b96f594233ecf9d80.tar.gz |
Minor regression in the order the directories are walked.
-rwxr-xr-x | pep8.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1036,7 +1036,8 @@ def input_dir(dirname, runner=None): if options.verbose: print('directory ' + root) options.counters['directories'] += 1 - for subdir in sorted(dirs): + dirs.sort() + for subdir in dirs[:]: if excluded(subdir): dirs.remove(subdir) files.sort() |