summaryrefslogtreecommitdiff
path: root/src/buildstream/_projectrefs.py
diff options
context:
space:
mode:
authorBenjamin Schubert <ben.c.schubert@gmail.com>2019-07-09 14:28:47 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-07-15 14:14:03 +0000
commit0e27a4b08ef0d7e23fc4d6b63f73f6ad7cee24cb (patch)
tree1ed44d99bf0aacaa27a218d070cfc06567c5b62c /src/buildstream/_projectrefs.py
parentc056a77b6bacad6f2edfbc5b6f0b65412a77f4ff (diff)
downloadbuildstream-0e27a4b08ef0d7e23fc4d6b63f73f6ad7cee24cb.tar.gz
_yaml: Mark attributes in ProvenanceInformation as Buildstream-private
Users should not need to get access to any of those, and should only need access to the ProvenanceInformation to print it.
Diffstat (limited to 'src/buildstream/_projectrefs.py')
-rw-r--r--src/buildstream/_projectrefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_projectrefs.py b/src/buildstream/_projectrefs.py
index 10dd000b2..152c9fc13 100644
--- a/src/buildstream/_projectrefs.py
+++ b/src/buildstream/_projectrefs.py
@@ -64,7 +64,7 @@ class ProjectRefs():
try:
self._toplevel_node = _yaml.load(self._fullpath, shortname=self._base_name, copy_tree=True)
provenance = self._toplevel_node.get_provenance()
- self._toplevel_save = provenance.toplevel
+ self._toplevel_save = provenance._toplevel
# Process any project options immediately
options.process_node(self._toplevel_node)