diff options
Diffstat (limited to 'src/saml2/sigver.py')
-rw-r--r-- | src/saml2/sigver.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/saml2/sigver.py b/src/saml2/sigver.py index 06836cf6..cae27914 100644 --- a/src/saml2/sigver.py +++ b/src/saml2/sigver.py @@ -17,7 +17,6 @@ from time import mktime from uuid import uuid4 as gen_random_key import dateutil -import six # importlib.resources was introduced in python 3.7 @@ -110,8 +109,6 @@ class SignatureError(XmlsecError): class BadSignature(SigverError): """The signature is invalid.""" - pass - def get_pem_wrapped_unwrapped(cert): begin_cert = "-----BEGIN CERTIFICATE-----\n" @@ -1497,7 +1494,6 @@ class SecurityContext: break except XmlsecError as exc: logger.error("check_sig: %s", str(exc)) - pass except Exception as exc: logger.error("check_sig: %s", str(exc)) raise |