Projet

Général

Profil

0001-agoraplus-fix-argument-list-for-error-formatting-195.patch

Serghei Mihai (congés, retour 15/05), 19 octobre 2017 14:15

Télécharger (1004 octets)

Voir les différences:

Subject: [PATCH] agoraplus: fix argument list for error formatting (#19559)

 passerelle/contrib/agoraplus/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
passerelle/contrib/agoraplus/models.py
72 72
    try:
73 73
        if expected_type is not None and not isinstance(response, expected_type):
74 74
            raise AgoraAPIError(
75
                'failure %s: we expected %s and got: %r' % (expected_type.__name__, response))
75
                'failure %s: we expected %s and got: %r' % (msg, expected_type.__name__, response))
76 76

  
77 77
        yield response
78 78
    except AgoraAPIError:
79
-