summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/gen-lockedsig-cache2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache
index 48cb671..9bfae9d 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
25def map_sha_to_files(dir_, prefix, sha_map): 25def 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: