Projet

Général

Profil

0054-misc-fix-raising-format-tuple-pylint-error-56982.patch

Valentin Deniaud, 21 septembre 2021 17:09

Télécharger (1,13 ko)

Voir les différences:

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(-)
src/authentic2/idp/saml/saml2_endpoints.py
439 439
            elif how.startswith('oath-totp'):
440 440
                authn_context = lasso.SAML2_AUTHN_CONTEXT_TIME_SYNC_TOKEN
441 441
            else:
442
                raise NotImplementedError('Unknown authentication method %s', how)
442
                raise NotImplementedError('Unknown authentication method %s' % how)
443 443
        except ObjectDoesNotExist:
444 444
            # TODO: previous session over secure transport (ssl) ?
445 445
            authn_context = lasso.SAML2_AUTHN_CONTEXT_PREVIOUS_SESSION
446
-