From 86eba8b6ab5beb850ba18c3c185201fa7a215a2e Mon Sep 17 00:00:00 2001 From: brent s Date: Sat, 2 Sep 2017 10:01:42 -0400 Subject: [PATCH] let's make the compression a little more predictable --- gpg/sksdump.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gpg/sksdump.py b/gpg/sksdump.py index 07dfef4..9766756 100755 --- a/gpg/sksdump.py +++ b/gpg/sksdump.py @@ -112,6 +112,7 @@ def compressDB(): return() curdir = os.path.join(sks['destdir'], NOWstr) for thisdir, dirs, files in os.walk(curdir): # I use os.walk here because we might handle this differently in the future... + files.sort() for f in files: fullpath = os.path.join(thisdir, f) newfile = '{0}.{1}'.format(fullpath, sks['compress'])