diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-09-04 14:15:52 -0400 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-09-04 14:59:05 -0400 |
commit | 856fbc2b456950c07dd44bbb5e1480255471a337 (patch) | |
tree | fd15ddea064a6241305a500c90bfde5df6a3def5 | |
parent | 21e5e14ec94b7b17546ac94e73f1b770200e5704 (diff) | |
download | buildstream-856fbc2b456950c07dd44bbb5e1480255471a337.tar.gz |
_frontend/widget.py: Removed pretty printing of workspace list
-rw-r--r-- | buildstream/_frontend/widget.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/buildstream/_frontend/widget.py b/buildstream/_frontend/widget.py index 7d8086b86..a51915038 100644 --- a/buildstream/_frontend/widget.py +++ b/buildstream/_frontend/widget.py @@ -521,23 +521,6 @@ class LogLine(Widget): return text - def show_workspaces(self, workspaces): - text = '' - p = Profile() - format = "%{name}-%{index}:\t%{path}" - text += self.content_profile.fmt("Workspaces\n", bold=True) - - for element_name, source_index, workspace in workspaces: - line = format - - line = p.fmt_subst(line, 'name', element_name, fg='blue') - line = p.fmt_subst(line, 'index', source_index, fg='yellow') - line = p.fmt_subst(line, 'path', workspace.replace(os.getenv('HOME', '/root'), '~'), fg='green') - - text += line + '\n' - - return text - def show_pipeline(self, dependencies, format): report = '' p = Profile() |