diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-07-19 13:38:44 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-07-19 13:46:14 +0100 |
commit | df8eda23514d8a6490c8a891f7deb5fcb9ad856c (patch) | |
tree | 6c7166ccc2a5c2676b51ae514a6e1825e9a717ec /morphlib/app.py | |
parent | 296525497eddba5dc40288188a0d71248ab14366 (diff) | |
download | morph-df8eda23514d8a6490c8a891f7deb5fcb9ad856c.tar.gz |
Set Morphology.needs_artifact_metadata_cached
Diffstat (limited to 'morphlib/app.py')
-rwxr-xr-x | morphlib/app.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/morphlib/app.py b/morphlib/app.py index 96c98cf7..b478989e 100755 --- a/morphlib/app.py +++ b/morphlib/app.py @@ -288,9 +288,7 @@ class BuildCommand(object): name=artifact.name) copy(self.rac.get(artifact), self.lac.put(artifact)) - # For strata we also need the metadata in the local cache. - # FIXME: why do we need it and can we fix things so we don't? - if artifact.source.morphology['kind'] == 'stratum': + if artifact.source.morphology.needs_artifact_metadata_cached: if not self.lac.has_artifact_metadata(artifact, 'meta'): self.app.status(msg='Fetching to local cache: ' 'artifact metadata %(name)s', |