Bug #52885
wcs thème ezt local variable 'template' referenced before assignment
Début:
09 avril 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
File "/usr/lib/python3/dist-packages/wcs/compat.py" in process_request 212. output = self.filter_output(request, output) File "/usr/lib/python3/dist-packages/wcs/compat.py" in filter_output 162. return self.render_response(output) File "/usr/lib/python3/dist-packages/auquotidien/modules/template.py" in render_response 68. return template.decorate(body, response) File "/usr/lib/python3/dist-packages/wcs/qommon/template.py" in decorate 400. template.generate(fd, vars) Exception Type: UnboundLocalError at / Exception Value: local variable 'template' referenced before assignment >>/pre>
Fichiers
Révisions associées
misc: fix rendering of legacy themes (#52885)
Historique
Mis à jour par Frédéric Péters il y a environ 3 ans
- Fichier 0001-misc-fix-rendering-of-legacy-themes-52885.patch 0001-misc-fix-rendering-of-legacy-themes-52885.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Dans le nettoyage pylint 021b73d4fb59db388a17569632f0b6c4d6f25d35 il y a eu suppression d'un "if True" et déindentation incomplète.
(ça concerne a priori juste les vieux thèmes wcs)
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit b5298bad06b341a8536708a9bcd70cfe622853b8 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Fri Apr 9 08:13:54 2021 +0200 misc: fix rendering of legacy themes (#52885)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: fix rendering of legacy themes (#52885)