summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-04 14:15:52 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-04 14:59:05 -0400
commit856fbc2b456950c07dd44bbb5e1480255471a337 (patch)
treefd15ddea064a6241305a500c90bfde5df6a3def5
parent21e5e14ec94b7b17546ac94e73f1b770200e5704 (diff)
downloadbuildstream-856fbc2b456950c07dd44bbb5e1480255471a337.tar.gz
_frontend/widget.py: Removed pretty printing of workspace list
-rw-r--r--buildstream/_frontend/widget.py17
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()