summaryrefslogtreecommitdiffstats
path: root/test/ZIP.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ZIP.py')
-rw-r--r--test/ZIP.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ZIP.py b/test/ZIP.py
index 3ba6a23..1924ab4 100644
--- a/test/ZIP.py
+++ b/test/ZIP.py
@@ -42,7 +42,9 @@ import os.path
import sys
def process(outfile, name):
if os.path.isdir(name):
- for entry in os.listdir(name):
+ list = os.listdir(name)
+ list.sort()
+ for entry in list:
process(outfile, os.path.join(name, entry))
else:
outfile.write(open(name, 'rb').read())