summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2015-04-09 10:10:19 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2015-04-10 13:52:27 +0000
commitc5d8549f4b27e35c47388796b13f76cea7b38c06 (patch)
tree2b2c7bf6867c7d04e0d8b335bc47fab968d6624a
parentc8d3522f7dcc9785b331cb0ef2bf4ce7f5bff788 (diff)
downloadmorph-c5d8549f4b27e35c47388796b13f76cea7b38c06.tar.gz
fixup: Redundancy is better than silence
-rw-r--r--morphlib/buildcommand.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py
index c3b78e2b..cab38395 100644
--- a/morphlib/buildcommand.py
+++ b/morphlib/buildcommand.py
@@ -423,6 +423,9 @@ class BuildCommand(object):
# module into morphlib.remoteartififactcache first.
to_fetch = []
if not self.lac.has(artifact):
+ self.app.status(
+ msg='Fetching to local cache: artifact %(name)s',
+ name=artifact.name)
self.lac.copy_from_remote(artifact, self.rac)
if artifact.source.morphology.needs_artifact_metadata_cached:
@@ -432,9 +435,6 @@ class BuildCommand(object):
self.lac.put_artifact_metadata(artifact, 'meta')))
if len(to_fetch) > 0:
- self.app.status(
- msg='Fetching to local cache: artifact %(name)s',
- name=artifact.name)
fetch_files(to_fetch)
def create_staging_area(self, build_env, use_chroot=True, extra_env={},