diff options
author | mathieui <mathieui@mathieui.net> | 2018-07-21 19:19:35 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2018-07-21 19:31:00 +0200 |
commit | d80ae218aabf8177672fd259df8e439f612ec289 (patch) | |
tree | 714364138665ceb093ec8ceeb680f23d1dad8226 /poezio/core/handlers.py | |
parent | ea2d76864da2448152428a62fe5c7daaea6ab0d3 (diff) | |
download | poezio-d80ae218aabf8177672fd259df8e439f612ec289.tar.gz poezio-d80ae218aabf8177672fd259df8e439f612ec289.tar.bz2 poezio-d80ae218aabf8177672fd259df8e439f612ec289.tar.xz poezio-d80ae218aabf8177672fd259df8e439f612ec289.zip |
Add exceptions for some pylint errors
until we find out where type inference has gone very wrong.
Diffstat (limited to 'poezio/core/handlers.py')
-rw-r--r-- | poezio/core/handlers.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index 7868cb59..ca5a3ca8 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -165,6 +165,8 @@ class HandlerCore: xml=message.xml.find( '{http://jabber.org/protocol/muc#user}x/{http://jabber.org/protocol/muc#user}invite' )) + # TODO: find out why pylint thinks "inviter" is a list + #pylint: disable=no-member inviter = invite['from'] reason = invite['reason'] password = invite['password'] @@ -1520,6 +1522,7 @@ class HandlerCore: der = ssl.PEM_cert_to_DER_cert(pem) asn1 = pyasn1.codec.der.decoder.decode( der, asn1Spec=pyasn1_modules.rfc2459.Certificate())[0] + #pylint: disable=no-member spki = asn1.getComponentByName("tbsCertificate").getComponentByName( "subjectPublicKeyInfo") spki_digest = sha256( |