Projet

Général

Profil

0024-misc-fix-raising-format-tuple-pylint-error-56288.patch

Lauréline Guérin, 30 août 2021 17:54

Télécharger (872 octets)

Voir les différences:

Subject: [PATCH 24/31] misc: fix raising-format-tuple pylint error (#56288)

 combo/utils/urls.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
combo/utils/urls.py
62 62
        if varname == '[':
63 63
            return '['
64 64
        if varname not in template_vars:
65
            raise TemplateError('unknown variable %s', varname)
65
            raise TemplateError('unknown variable %s' % varname)
66 66
        return force_text(template_vars[varname])
67 67

  
68 68
    return re.sub(r'(\[.+?\])', repl, url)
69
-