summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2019-01-14 12:33:24 +0000
committerJames Ennis <james.ennis@codethink.com>2019-01-16 11:05:44 +0000
commit97a3beb6cb1c861f5b21b318a126f85663e182dd (patch)
tree4ffb4e696d60e17501c0a67e61292a5eb0250a64
parentb608ac86e93285a25aa05c16777ea23713b6448b (diff)
downloadbuildstream-97a3beb6cb1c861f5b21b318a126f85663e182dd.tar.gz
_context.py: Add documentation to get_workspaces() command
-rw-r--r--buildstream/_context.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/buildstream/_context.py b/buildstream/_context.py
index dc196d3f5..90690043c 100644
--- a/buildstream/_context.py
+++ b/buildstream/_context.py
@@ -322,6 +322,13 @@ class Context():
def get_toplevel_project(self):
return self._projects[0]
+ # get_workspaces():
+ #
+ # Return a Workspaces object containing a list of workspaces.
+ #
+ # Returns:
+ # (Workspaces): The Workspaces object
+ #
def get_workspaces(self):
return self._workspaces