Projet

Général

Profil

0001-oauth2-fix-typo-in-error-message-22713.patch

Frédéric Péters, 21 mars 2018 19:07

Télécharger (957 octets)

Voir les différences:

Subject: [PATCH] oauth2: fix typo in error message (#22713)

 fargo/oauth2/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fargo/oauth2/utils.py
26 26
    content_header = request.META['HTTP_CONTENT_DISPOSITION']
27 27
    disposition_type, filename = cgi.parse_header(content_header)
28 28
    if disposition_type != 'attachment':
29
        return None, 'wrong disposition type: attachment excpected'
29
        return None, 'wrong disposition type: attachment expected'
30 30
    if 'filename*' in filename:
31 31
        encode, country, name = filename['filename*'].split("'")
32 32

  
33
-