diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-11 22:50:21 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-11 22:50:21 +0900 |
commit | bdae56627224d920bf02adeba0570792064a83f6 (patch) | |
tree | f4e9720fe14f6dc6f22661ce1d50af43b05ee290 | |
parent | 21fcf18e92847ed6b77d3c235e0d68dea441e82e (diff) | |
download | buildstream-bdae56627224d920bf02adeba0570792064a83f6.tar.gz |
status.py: Minor touchups in the queue formatting
-rw-r--r-- | buildstream/_frontend/status.py | 10 |
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("]") |