diff options
author | James Ennis <james.ennis@codethink.com> | 2019-01-16 11:33:21 +0000 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2019-01-16 11:33:21 +0000 |
commit | d6587aa018490ee503450ea3683a6c836490aca1 (patch) | |
tree | 4ffb4e696d60e17501c0a67e61292a5eb0250a64 | |
parent | c0631d48c1b1bbfa941bc9eaf7cd5aac2a1ae926 (diff) | |
parent | 97a3beb6cb1c861f5b21b318a126f85663e182dd (diff) | |
download | buildstream-d6587aa018490ee503450ea3683a6c836490aca1.tar.gz |
Merge branch 'jennis/doc_fixes_in_context' into 'master'
Small documentation/comment fixes in context.py
See merge request BuildStream/buildstream!1072
-rw-r--r-- | buildstream/_context.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/buildstream/_context.py b/buildstream/_context.py index c62755cf2..90690043c 100644 --- a/buildstream/_context.py +++ b/buildstream/_context.py @@ -317,11 +317,18 @@ class Context(): # invoked with as opposed to a junctioned subproject. # # Returns: - # (list): The list of projects + # (Project): The Project object # 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 |