diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-12 17:56:49 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-12 17:56:49 +0900 |
commit | c0b501968d220b8e967f62dc13293295847aa527 (patch) | |
tree | 35ce6b12118b06ea27e0748c0374eae4a180dabd | |
parent | f8138f9dc243961da5b8f8d8de8afd20a6e0d644 (diff) | |
download | buildstream-c0b501968d220b8e967f62dc13293295847aa527.tar.gz |
status.py: Enhanced queue formatting in status area
-rw-r--r-- | buildstream/_frontend/status.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/buildstream/_frontend/status.py b/buildstream/_frontend/status.py index d36839f2e..030cba1f0 100644 --- a/buildstream/_frontend/status.py +++ b/buildstream/_frontend/status.py @@ -260,13 +260,13 @@ class StatusHeader(): size = 5 # Space for the formatting '[', ':', ' ', ' ' and ']' size += len(queue.complete_name) size += len(processed) + len(skipped) + len(failed) - text = self.format_profile.fmt("[") + \ + text = self.format_profile.fmt("(") + \ self.content_profile.fmt(queue.complete_name) + \ self.format_profile.fmt(":") + \ self.success_profile.fmt(processed) + ' ' + \ self.content_profile.fmt(skipped) + ' ' + \ self.error_profile.fmt(failed) + \ - self.format_profile.fmt("]") + self.format_profile.fmt(")") return (text, size) @@ -299,8 +299,8 @@ class StatusHeader(): # Add spacing if self.scheduler.queues.index(queue) > 0: - size += 1 - text += ' ' + size += 2 + text += self.format_profile.fmt('→ ') queue_text, queue_size = self.render_queue(queue) size += queue_size |