diff options
author | lovetox <philipp@hoerist.com> | 2020-04-19 10:14:33 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-04-19 10:14:33 +0300 |
commit | c82a4634f45a34d3dcd65a883c17e2a68e185a43 (patch) | |
tree | 3cbfaaf984d9865836b0742211d1891e51261b5f /nbxmpp/dispatcher.py | |
parent | 2609572a74a30e329c04b8fa8c1a96877047ca6f (diff) |
Fix pylint errors
- line-too-long
Diffstat (limited to 'nbxmpp/dispatcher.py')
-rw-r--r-- | nbxmpp/dispatcher.py | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/nbxmpp/dispatcher.py b/nbxmpp/dispatcher.py index 3852045..a44a395 100644 --- a/nbxmpp/dispatcher.py +++ b/nbxmpp/dispatcher.py @@ -274,8 +274,9 @@ class StanzaDispatcher(Observable): if not typ and not ns: typ = 'default' - self._log.debug('Register handler %s for "%s" type->%s ns->%s(%s) priority->%s', - handler, name, typ, ns, xmlns, priority) + self._log.debug( + 'Register handler %s for "%s" type->%s ns->%s(%s) priority->%s', + handler, name, typ, ns, xmlns, priority) if xmlns not in self._handlers: self._register_namespace(xmlns) @@ -315,11 +316,13 @@ class StanzaDispatcher(Observable): try: self._handlers[xmlns][name][specific].remove(handler_dict) except ValueError: - self._log.warning('Unregister failed: %s for "%s" type->%s ns->%s(%s)', - handler, name, typ, ns, xmlns) + self._log.warning( + 'Unregister failed: %s for "%s" type->%s ns->%s(%s)', + handler, name, typ, ns, xmlns) else: - self._log.debug('Unregister handler %s for "%s" type->%s ns->%s(%s)', - handler, name, typ, ns, xmlns) + self._log.debug( + 'Unregister handler %s for "%s" type->%s ns->%s(%s)', + handler, name, typ, ns, xmlns) def _default_handler(self, stanza): """ |