Skip to content

Commit

Permalink
Merge pull request #50 from iain-buclaw-sociomantic/sort-subdirs
Browse files Browse the repository at this point in the history
Walk the Ceres tree in a sorted manner
  • Loading branch information
deniszh committed Apr 5, 2017
2 parents cf1c438 + ff9fe64 commit e9708aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/ceres-maintenance
Expand Up @@ -243,6 +243,7 @@ if __name__ == '__main__':
proc_pool = Pool(processes=int(options.workers))

for current_dir, subdirs, files in os.walk(options.root):
subdirs.sort()
for subdir in subdirs:
if subdir == '.ceres-tree':
continue
Expand Down

0 comments on commit e9708aa

Please sign in to comment.