diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-04-09 10:10:19 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2015-04-10 13:52:27 +0000 |
commit | c5d8549f4b27e35c47388796b13f76cea7b38c06 (patch) | |
tree | 2b2c7bf6867c7d04e0d8b335bc47fab968d6624a | |
parent | c8d3522f7dcc9785b331cb0ef2bf4ce7f5bff788 (diff) | |
download | morph-c5d8549f4b27e35c47388796b13f76cea7b38c06.tar.gz |
fixup: Redundancy is better than silence
-rw-r--r-- | morphlib/buildcommand.py | 6 |
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={}, |