summaryrefslogtreecommitdiff
path: root/summain
diff options
context:
space:
mode:
Diffstat (limited to 'summain')
-rwxr-xr-xsummain1
1 files changed, 1 insertions, 0 deletions
diff --git a/summain b/summain
index 92ad5f3..c4adfe5 100755
--- a/summain
+++ b/summain
@@ -42,6 +42,7 @@ class Summain(cliapp.Application):
if os.path.isdir(root):
for dirname, dirnames, filenames in os.walk(root):
yield dirname
+ dirname.sort()
for filename in sorted(filenames):
yield os.path.join(dirname, filename)
else: