Skip to content

Commit

Permalink
Sort dirs so that the subdirs are executed in alphanumerical order. F…
Browse files Browse the repository at this point in the history
…ixes #23.
  • Loading branch information
Mark Fiers committed Nov 29, 2012
1 parent 551cebe commit 82743f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moa/cli/moar.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def moar():
localpath = path.replace(base, '')
level = len(localpath.split('/')) - 1

dirs.sort()

if args.depth and args.depth != level:
continue

Expand Down

0 comments on commit 82743f4

Please sign in to comment.