diff options
author | lovetox <philipp@hoerist.com> | 2020-03-20 18:15:11 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-03-20 18:15:11 +0300 |
commit | ceb541462ed855c6a389a96d51ab3151b23f0423 (patch) | |
tree | 38e9785ddf2833855d6620e9feded942ff6516ad /nbxmpp/client.py | |
parent | 847e21a4b26868363413ad43e12879f036161642 (diff) |
Logging: Simplify passing context
Diffstat (limited to 'nbxmpp/client.py')
-rw-r--r-- | nbxmpp/client.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nbxmpp/client.py b/nbxmpp/client.py index 4312dda..115bdd7 100644 --- a/nbxmpp/client.py +++ b/nbxmpp/client.py @@ -117,13 +117,13 @@ class Client(Observable): self._ping_source_id = None - self._dispatcher = StanzaDispatcher(self, self._log_context) + self._dispatcher = StanzaDispatcher(self) self._dispatcher.subscribe('before-dispatch', self._on_before_dispatch) self._dispatcher.subscribe('parsing-error', self._on_parsing_error) self._dispatcher.subscribe('stream-end', self._on_stream_end) - self._smacks = Smacks(self, self._log_context) - self._sasl = SASL(self, self._log_context) + self._smacks = Smacks(self) + self._sasl = SASL(self) self._state = StreamState.DISCONNECTED |