summaryrefslogtreecommitdiff
path: root/src/buildstream/_stream.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2020-06-12 05:59:37 +0000
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2020-06-12 05:59:37 +0000
commiteec0ce41eb807f78670cc855e9ea5161250ef663 (patch)
tree648aba30db09ed3764a064c14ea6884eaac8591d /src/buildstream/_stream.py
parentf1c4825abdc71ec7deeb80555fa8392cd33652bc (diff)
parent2eccea85dc231db70cec6b2598bbfdd78330667d (diff)
downloadbuildstream-eec0ce41eb807f78670cc855e9ea5161250ef663.tar.gz
Merge branch 'tristan/remove-some-internal-api' into 'master'
Remove a not very important message from the cli See merge request BuildStream/buildstream!1963
Diffstat (limited to 'src/buildstream/_stream.py')
-rw-r--r--src/buildstream/_stream.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/buildstream/_stream.py b/src/buildstream/_stream.py
index dc91db6b7..44faf2bc7 100644
--- a/src/buildstream/_stream.py
+++ b/src/buildstream/_stream.py
@@ -956,20 +956,6 @@ class Stream:
return False
- # workspace_is_required()
- #
- # Checks whether the workspace belonging to element_name is required to
- # load the project
- #
- # Args:
- # element_name (str): The element whose workspace may be required
- #
- # Returns:
- # (bool): True if the workspace is required
- def workspace_is_required(self, element_name):
- invoked_elm = self._project.invoked_from_workspace_element()
- return invoked_elm == element_name
-
# workspace_list
#
# Serializes the workspaces and dumps them in YAML to stdout.