Projet

Général

Profil

0001-utils-json.dumps-encoding-.-is-obsolete-53595.patch

Benjamin Dauvergne, 30 avril 2021 12:18

Télécharger (770 octets)

Voir les différences:

Subject: [PATCH] utils: json.dumps(encoding=...) is obsolete (#53595)

 passerelle/utils/jsonresponse.py | 1 -
 1 file changed, 1 deletion(-)
passerelle/utils/jsonresponse.py
110 110
        if debug:
111 111
            kwargs["indent"] = 4
112 112
            kwargs["ensure_ascii"] = False
113
            kwargs["encoding"] = "utf8"
114 113

  
115 114
        plain = json.dumps(data, **kwargs)
116 115
        if format == 'jsonp':
117
-