summaryrefslogtreecommitdiffstats
path: root/test/TAR/TARFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/TAR/TARFLAGS.py')
-rw-r--r--test/TAR/TARFLAGS.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/TAR/TARFLAGS.py b/test/TAR/TARFLAGS.py
index f349b3a..96d61fe 100644
--- a/test/TAR/TARFLAGS.py
+++ b/test/TAR/TARFLAGS.py
@@ -46,6 +46,8 @@ for opt, arg in cmd_opts:
else: opt_string = opt_string + ' ' + opt
def process(outfile, name):
if os.path.isdir(name):
+ ## TODO 2.5: the next three lines can be replaced by
+ #for entry in sorted(os.listdir(name)):
entries = os.listdir(name)
entries.sort()
for entry in entries: