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/plugin.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/plugin.py')
-rw-r--r-- | buildstream/plugin.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/buildstream/plugin.py b/buildstream/plugin.py index 28a04600e..c67e177bf 100644 --- a/buildstream/plugin.py +++ b/buildstream/plugin.py @@ -439,9 +439,9 @@ class Plugin(): # This will raise SourceError on its own self.call(... command which takes time ...) """ - with self.__context._timed_activity(activity_name, - detail=detail, - silent_nested=silent_nested): + with self.__context.timed_activity(activity_name, + detail=detail, + silent_nested=silent_nested): yield def call(self, *popenargs, fail=None, **kwargs): @@ -615,7 +615,7 @@ class Plugin(): def __message(self, message_type, brief, **kwargs): message = Message(self.__unique_id, message_type, brief, **kwargs) - self.__context._message(message) + self.__context.message(message) def __note_command(self, output, *popenargs, **kwargs): workdir = os.getcwd() |