Projet

Général

Profil

0001-misc-fix-rendering-of-legacy-themes-52885.patch

Frédéric Péters, 09 avril 2021 08:14

Télécharger (1,13 ko)

Voir les différences:

Subject: [PATCH] misc: fix rendering of legacy themes (#52885)

 wcs/qommon/template.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
wcs/qommon/template.py
386 386
                continue
387 387
            break
388 388

  
389
        if template_ezt:
390
            generate_breadcrumb = '[breadcrumb]' in template_ezt
389
    if template_ezt:
390
        generate_breadcrumb = '[breadcrumb]' in template_ezt
391 391

  
392
            template = ezt.Template()
393
            template.parse(template_ezt)
394
        else:
395
            template = default_template
392
        template = ezt.Template()
393
        template.parse(template_ezt)
394
    else:
395
        template = default_template
396 396

  
397 397
    fd = io.StringIO()
398 398
    vars = get_decorate_vars(body, response, generate_breadcrumb=generate_breadcrumb)
399
-