diff options
author | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-07-02 17:14:44 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-05 09:44:45 +0000 |
commit | cfbab5fe76f8011bc8b6b895b2d3bfff4ea167b3 (patch) | |
tree | 51abb49a04c9797e7def9c8929e8f427037c61ed /src/buildstream/_loader | |
parent | b60fffebf563edfe258cbb893754197af1ac5a0b (diff) | |
download | buildstream-cfbab5fe76f8011bc8b6b895b2d3bfff4ea167b3.tar.gz |
Refactor, use context.messenger directly
Instead of having methods in Context forward calls on to the Messenger,
have folks call the Messenger directly. Remove the forwarding methods in
Context.
Diffstat (limited to 'src/buildstream/_loader')
-rw-r--r-- | src/buildstream/_loader/loader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_loader/loader.py b/src/buildstream/_loader/loader.py index 5f98b127c..b221c48d0 100644 --- a/src/buildstream/_loader/loader.py +++ b/src/buildstream/_loader/loader.py @@ -721,7 +721,7 @@ class Loader(): raise LoadError(warning_token, brief) message = Message(None, MessageType.WARN, brief) - self._context.message(message) + self._context.messenger.message(message) # Print warning messages if any of the specified elements have invalid names. # |