summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2019-01-14 12:11:26 +0000
committerJames Ennis <james.ennis@codethink.com>2019-01-16 11:05:44 +0000
commitb608ac86e93285a25aa05c16777ea23713b6448b (patch)
tree5b1d4f45bbc695e7e1dffa5ef4134bbb9aae5d69
parentc0631d48c1b1bbfa941bc9eaf7cd5aac2a1ae926 (diff)
downloadbuildstream-b608ac86e93285a25aa05c16777ea23713b6448b.tar.gz
_context.py: Doc fix: get_toplevel_project() returns object not list
-rw-r--r--buildstream/_context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_context.py b/buildstream/_context.py
index c62755cf2..dc196d3f5 100644
--- a/buildstream/_context.py
+++ b/buildstream/_context.py
@@ -317,7 +317,7 @@ 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]