summaryrefslogtreecommitdiffstats
path: root/scripts/gen-lockedsig-cache
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen-lockedsig-cache')
-rwxr-xr-xscripts/gen-lockedsig-cache3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache
index cd8f9a4356..cc674f9c1b 100755
--- a/scripts/gen-lockedsig-cache
+++ b/scripts/gen-lockedsig-cache
@@ -94,8 +94,7 @@ print("Gathering file list took %.1fs" % elapsed)
94print('Processing files') 94print('Processing files')
95for f in files: 95for f in files:
96 sys.stdout.write('Processing %s... ' % f) 96 sys.stdout.write('Processing %s... ' % f)
97 _, ext = os.path.splitext(f) 97 if not f.endswith(('.tar.zst', '.siginfo', '.sig')):
98 if not ext in ['.tgz', '.siginfo', '.sig']:
99 # Most likely a temp file, skip it 98 # Most likely a temp file, skip it
100 print('skipping') 99 print('skipping')
101 continue 100 continue