From d999331707c7ba0d9914ef0350d6401cbbafbf8b Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Tue, 21 Sep 2021 15:27:40 +0200 Subject: [PATCH 54/59] misc: fix raising-format-tuple pylint error (#56982) --- src/authentic2/idp/saml/saml2_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/authentic2/idp/saml/saml2_endpoints.py b/src/authentic2/idp/saml/saml2_endpoints.py index afdfab03..20b4ad20 100644 --- a/src/authentic2/idp/saml/saml2_endpoints.py +++ b/src/authentic2/idp/saml/saml2_endpoints.py @@ -439,7 +439,7 @@ def build_assertion(request, login, provider, nid_format='transient'): elif how.startswith('oath-totp'): authn_context = lasso.SAML2_AUTHN_CONTEXT_TIME_SYNC_TOKEN else: - raise NotImplementedError('Unknown authentication method %s', how) + raise NotImplementedError('Unknown authentication method %s' % how) except ObjectDoesNotExist: # TODO: previous session over secure transport (ssl) ? authn_context = lasso.SAML2_AUTHN_CONTEXT_PREVIOUS_SESSION -- 2.30.2