Code Cleanup: style, spelling and pep8 edits

This commit is contained in:
2013-11-20 03:38:18 +11:00
parent 780459e406
commit 1ea47c9af9
19 changed files with 30 additions and 29 deletions

View File

@@ -321,7 +321,7 @@ def reduce_dirs(dirs):
"""
dirs = list({_os.path.normpath(_os.path.abspath(d)) for d in dirs})
dirs.sort(key=lambda d: len(d))
for i in range(len(dirs) -1, -1, -1):
for i in range(len(dirs) - 1, -1, -1):
for j in range(i):
print(i, j)
if len(dirs[i]) == len(dirs[j]):