diff options
Diffstat (limited to 'scripts/gen-lockedsig-cache')
-rwxr-xr-x | scripts/gen-lockedsig-cache | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/gen-lockedsig-cache b/scripts/gen-lockedsig-cache index 6a7d285910..cd8f9a4356 100755 --- a/scripts/gen-lockedsig-cache +++ b/scripts/gen-lockedsig-cache | |||
@@ -80,13 +80,10 @@ for s in sigs: | |||
80 | prefix = s[:2] | 80 | prefix = s[:2] |
81 | prefix2 = s[2:4] | 81 | prefix2 = s[2:4] |
82 | if prefix not in sstate_content_cache: | 82 | if prefix not in sstate_content_cache: |
83 | sstate_content_cache[prefix] = build_sha_cache(prefix) | 83 | sstate_content_cache[prefix] = {} |
84 | if prefix2 not in sstate_content_cache[prefix]: | 84 | if prefix2 not in sstate_content_cache[prefix]: |
85 | sstate_content_cache[prefix][prefix2] = build_sha_cache(prefix + "/" + prefix2) | 85 | sstate_content_cache[prefix][prefix2] = build_sha_cache(prefix + "/" + prefix2) |
86 | 86 | ||
87 | if s in sstate_content_cache[prefix]: | ||
88 | for f in sstate_content_cache[prefix][s]: | ||
89 | files.add(f) | ||
90 | if s in sstate_content_cache[prefix][prefix2]: | 87 | if s in sstate_content_cache[prefix][prefix2]: |
91 | for f in sstate_content_cache[prefix][prefix2][s]: | 88 | for f in sstate_content_cache[prefix][prefix2][s]: |
92 | files.add(f) | 89 | files.add(f) |