summaryrefslogtreecommitdiff
path: root/scripts/clean-git-cache
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/clean-git-cache')
-rwxr-xr-xscripts/clean-git-cache4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/clean-git-cache b/scripts/clean-git-cache
index bcc106aa..c52e40d8 100755
--- a/scripts/clean-git-cache
+++ b/scripts/clean-git-cache
@@ -191,10 +191,10 @@ class CleanGitCache(cliapp.Application):
tree = json.loads(self._cat_file(morphs_dir, morphs_ref, filename))
- if tree['kind'] != 'stratum' or 'sources' not in tree:
+ if tree['kind'] != 'stratum' or 'chunks' not in tree:
continue
- for chunk in tree['sources']:
+ for chunk in tree['chunks']:
repo = chunk['repo']
directory = quote_url(self.resolver.pull_url(repo))
gits_in_use_list.append(directory)