Disable a pylint error on a line (due to __getattr__ override)

This commit is contained in:
mathieui 2019-12-28 16:47:18 +01:00
parent 9e390085a1
commit abbb6a714e
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -325,6 +325,7 @@ class E2EEPlugin(BasePlugin):
Wrapper around _encrypt() to handle errors and display the message after encryption.
"""
try:
# pylint: disable=unexpected-keyword-arg
result = await self._encrypt(stanza, passthrough=True)
except NothingToEncrypt:
return stanza