From 856fbc2b456950c07dd44bbb5e1480255471a337 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 4 Sep 2017 14:15:52 -0400 Subject: _frontend/widget.py: Removed pretty printing of workspace list --- buildstream/_frontend/widget.py | 17 ----------------- 1 file changed, 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() -- cgit v1.2.1