summaryrefslogtreecommitdiff
path: root/buildstream/_frontend/widget.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_frontend/widget.py')
-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()