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-15 17:14:40 +0000
commit0cedfec72c2e3b195905c08d13d54f7a0b5fe455 (patch)
treefebd45fa770728f8fafcf119cb8f2ba959e99637
parentbe5af6f57893d214d6f7bba0dccc555d55e98c1d (diff)
downloadbuildstream-jennis/doc_fixes_in_context.tar.gz
_context.py: Add documentation to get_workspaces() commandjennis/doc_fixes_in_context
-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