summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/buildcommand.py2
-rw-r--r--morphlib/plugins/list_artifacts_plugin.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index edd2f0c5..03aadce7 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -447,7 +447,7 @@ class BuildCommand(object):
to_fetch.append((self.rac.get(artifact),
self.lac.put(artifact)))
- if artifact.source.morphology.needs_artifact_metadata_cached:
+ if artifact.source.morphology.needs_artifact_metadata_cached():
if not self.lac.has_artifact_metadata(artifact, 'meta'):
to_fetch.append((
self.rac.get_artifact_metadata(artifact, 'meta'),
diff --git a/morphlib/plugins/list_artifacts_plugin.py b/morphlib/plugins/list_artifacts_plugin.py
index 8074206b..0b6c1bb7 100644
--- a/morphlib/plugins/list_artifacts_plugin.py
+++ b/morphlib/plugins/list_artifacts_plugin.py
@@ -112,7 +112,7 @@ class ListArtifactsPlugin(cliapp.Plugin):
artifact_files.add(artifact.basename())
- if artifact.source.morphology.needs_artifact_metadata_cached:
+ if artifact.source.morphology.needs_artifact_metadata_cached():
artifact_files.add('%s.meta' % artifact.basename())
# This is unfortunate hardwiring of behaviour; in future we