diff options
Diffstat (limited to 'test/Command.py')
-rw-r--r-- | test/Command.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Command.py b/test/Command.py index f3be46a..74046b1 100644 --- a/test/Command.py +++ b/test/Command.py @@ -58,9 +58,7 @@ def sub(env, target, source): target = str(target[0]) source = str(source[0]) t = open(target, 'wb') - files = os.listdir(source) - files.sort() - for f in files: + for f in sorted(os.listdir(source)): t.write(open(os.path.join(source, f), 'rb').read()) t.close() return 0 |