summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-11 22:50:21 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-11 22:50:21 +0900
commitbdae56627224d920bf02adeba0570792064a83f6 (patch)
treef4e9720fe14f6dc6f22661ce1d50af43b05ee290
parent21fcf18e92847ed6b77d3c235e0d68dea441e82e (diff)
downloadbuildstream-bdae56627224d920bf02adeba0570792064a83f6.tar.gz
status.py: Minor touchups in the queue formatting
-rw-r--r--buildstream/_frontend/status.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/buildstream/_frontend/status.py b/buildstream/_frontend/status.py
index 5d421a688..d36839f2e 100644
--- a/buildstream/_frontend/status.py
+++ b/buildstream/_frontend/status.py
@@ -257,16 +257,14 @@ class StatusHeader():
skipped = str(len(queue.skipped_elements))
failed = str(len(queue.failed_elements))
- size = 6 # Space for the formatting '[', ': ', '/', '/' and ']'
+ size = 5 # Space for the formatting '[', ':', ' ', ' ' and ']'
size += len(queue.complete_name)
size += len(processed) + len(skipped) + len(failed)
text = self.format_profile.fmt("[") + \
self.content_profile.fmt(queue.complete_name) + \
- self.format_profile.fmt(": ") + \
- self.success_profile.fmt(processed) + \
- self.format_profile.fmt("/") + \
- self.content_profile.fmt(skipped) + \
- self.format_profile.fmt("/") + \
+ self.format_profile.fmt(":") + \
+ self.success_profile.fmt(processed) + ' ' + \
+ self.content_profile.fmt(skipped) + ' ' + \
self.error_profile.fmt(failed) + \
self.format_profile.fmt("]")