Skip to content

Commit

Permalink
Sort tar file list
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwiedemann committed Jun 18, 2017
1 parent b1aa4cb commit 2bf1ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TarSCM/archive.py
Expand Up @@ -190,7 +190,7 @@ def tar_filter(tarinfo):
# Python 2.6 compatibility
tar.add(topdir, recursive=False)
for entry in map(lambda x: os.path.join(topdir, x),
os.listdir(topdir)):
sorted(os.listdir(topdir))):
try:
tar.add(entry, filter=tar_filter)
except TypeError:
Expand Down

0 comments on commit 2bf1ec9

Please sign in to comment.