diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-08-28 15:31:29 +0100 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-08-29 15:16:28 +0100 |
commit | ecefb2d1936221ccf21cbad6db2fe73cd229f4f5 (patch) | |
tree | bdf91e898213f0daaa7d4c06598a920f096b5d79 /scripts | |
parent | f2415383628cb22c5646d96b0e7bbfd6d0629072 (diff) | |
download | morph-ecefb2d1936221ccf21cbad6db2fe73cd229f4f5.tar.gz |
Strata contain "chunks", not "sources"
Rename "sources" field of stratum morphologies to "chunks".
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clean-git-cache | 4 |
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) |