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 /morphlib/morph2.py | |
parent | f2415383628cb22c5646d96b0e7bbfd6d0629072 (diff) | |
download | morph-ecefb2d1936221ccf21cbad6db2fe73cd229f4f5.tar.gz |
Strata contain "chunks", not "sources"
Rename "sources" field of stratum morphologies to "chunks".
Diffstat (limited to 'morphlib/morph2.py')
-rw-r--r-- | morphlib/morph2.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/morphlib/morph2.py b/morphlib/morph2.py index ad9e1d89..d4d9fe07 100644 --- a/morphlib/morph2.py +++ b/morphlib/morph2.py @@ -31,8 +31,7 @@ class Morphology(object): ('build-commands', None), ('test-commands', None), ('install-commands', None), - ('chunks', {}), - ('sources', []), + ('chunks', []), ('strata', []), ('max-jobs', None), ('description', ''), @@ -80,7 +79,7 @@ class Morphology(object): self._set_stratum_defaults() def _set_stratum_defaults(self): - for source in self['sources']: + for source in self['chunks']: if 'repo' not in source: source['repo'] = source['name'] if 'morph' not in source: |