diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-02 22:45:34 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-03 22:49:10 +0900 |
commit | 500f4f330fde8b6001a2f8d8921bd5b8acb79960 (patch) | |
tree | fbde3a81f1732ba219d131438ec8134ea6b2c298 /buildstream/source.py | |
parent | 70c73b93c0aca0c36c17ad4686b7e71b32a8dc1d (diff) | |
download | buildstream-500f4f330fde8b6001a2f8d8921bd5b8acb79960.tar.gz |
_context.py: Adhere to policy on private symbols
And adjust all surrounding sources for changed symbols.
This is a part of issue #285
Diffstat (limited to 'buildstream/source.py')
-rw-r--r-- | buildstream/source.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildstream/source.py b/buildstream/source.py index cf362efc2..7de1780fb 100644 --- a/buildstream/source.py +++ b/buildstream/source.py @@ -318,7 +318,7 @@ class Source(Plugin): # Source consistency interrogations are silent. context = self._get_context() - with context._silence(): + with context.silence(): self.__consistency = self.get_consistency() if self._has_workspace() and \ @@ -478,7 +478,7 @@ class Source(Plugin): def _load_ref(self): context = self._get_context() project = self._get_project() - toplevel = context._get_toplevel_project() + toplevel = context.get_toplevel_project() redundant_ref = None element_name = self.__element_name @@ -536,7 +536,7 @@ class Source(Plugin): context = self._get_context() project = self._get_project() - toplevel = context._get_toplevel_project() + toplevel = context.get_toplevel_project() provenance = self._get_provenance() element_name = self.__element_name |