summaryrefslogtreecommitdiff
path: root/morphlib/buildcommand.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-18 09:41:52 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2013-03-18 09:42:47 +0000
commitce35f0033cc7e29797c6255991f54795b6d31d74 (patch)
treece324754fc2e235859f5a09998a446d825ef3c21 /morphlib/buildcommand.py
parentbc75c73829adc2446bd4ccdcbb6fe85ea4b62ba4 (diff)
downloadmorph-ce35f0033cc7e29797c6255991f54795b6d31d74.tar.gz
Fix long lines
Diffstat (limited to 'morphlib/buildcommand.py')
-rw-r--r--morphlib/buildcommand.py9
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(