diff options
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r-- | morphlib/buildcommand.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/morphlib/buildcommand.py b/morphlib/buildcommand.py index 0e91f8a1..d49f9e72 100644 --- a/morphlib/buildcommand.py +++ b/morphlib/buildcommand.py @@ -195,8 +195,10 @@ class BuildCommand(object): self.app.status_prefix = ( old_prefix + '[Build %d/%d] ' % ((i+1), len(artifacts))) - self.app.status(msg='[%(name)s] Checking if %(kind)s needs building %(sha1)s', - name=a.name, kind=a.source.morphology['kind'], sha1=a.source.sha1[:7]) + self.app.status(msg='[%(name)s] Checking if %(kind)s needs ' + 'building %(sha1)s', + name=a.name, kind=a.source.morphology['kind'], + sha1=a.source.sha1[:7]) if self.is_built(a): self.app.status(msg='[%(name)s] The %(kind)s is already built', @@ -388,7 +390,8 @@ class BuildCommand(object): def build_and_cache(self, staging_area, artifact, setup_mounts): '''Build an artifact and put it into the local artifact cache.''' - self.app.status(msg='[%(name)s] Starting actual build: %(name)s %(sha1)s', + self.app.status(msg='[%(name)s] Starting actual build: %(name)s ' + '%(sha1)s', name=artifact.name, sha1=artifact.source.sha1[:7]) setup_mounts = self.app.settings['staging-chroot'] builder = morphlib.builder2.Builder( |