diff options
Diffstat (limited to 'scripts/gen-lockedsig-cache')
-rwxr-xr-x | scripts/gen-lockedsig-cache | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index 48cb67112f..9bfae9d832 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache | |||
@@ -24,6 +24,8 @@ def extract_sha(filename): | |||
24 | # a map from hash to list of file with that hash | 24 | # a map from hash to list of file with that hash |
25 | def map_sha_to_files(dir_, prefix, sha_map): | 25 | def map_sha_to_files(dir_, prefix, sha_map): |
26 | sstate_prefix_path = dir_ + '/' + prefix + '/' | 26 | sstate_prefix_path = dir_ + '/' + prefix + '/' |
27 | if not os.path.exists(sstate_prefix_path): | ||
28 | return | ||
27 | sstate_files = os.listdir(sstate_prefix_path) | 29 | sstate_files = os.listdir(sstate_prefix_path) |
28 | for f in sstate_files: | 30 | for f in sstate_files: |
29 | try: | 31 | try: |