From 5b738ec3c33a396c55b18fe479515ca08cf28771 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 11 Jun 2011 20:43:53 +0100 Subject: Sort subdirectories for systematic output. --- summain | 1 + 1 file changed, 1 insertion(+) (limited to 'summain') 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: -- cgit v1.2.1