Projet

Général

Profil

0001-py3-do-not-expect-Exception.message-44810.patch

Benjamin Dauvergne, 04 juillet 2020 14:38

Télécharger (896 octets)

Voir les différences:

Subject: [PATCH] py3: do not expect Exception.message (#44810)

 src/authentic2/idp/saml/saml2_endpoints.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/authentic2/idp/saml/saml2_endpoints.py
137 137
        try:
138 138
            return func(request, *args, **kwargs)
139 139
        except exception_classes as e:
140
            return error_redirect(request, e.message or repr(e))
140
            return error_redirect(request, str(e))
141 141
    return f
142 142

  
143 143
#####
144
-