Development #57106
qommon.emails local variable 'e' referenced before assignment
Début:
20 septembre 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
Exception:
type = '<class 'UnboundLocalError'>', value = 'local variable 'e' referenced before assignment'
File "/home/lguerin/src/wcs/wcs/qommon/emails.py", line 362, in create_smtp_server 360 except OSError: 361 # XXX: write message in a queue somewhere? > 362 publisher.record_error(_('Failed to connect to SMTP server'), exception=e) 363 raise errors.EmailError('Failed to connect to SMTP server') 364 if not s.sock:
Corriger ça et enlever le comment # XXX au passage
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a plus de 2 ans
- Fichier 0001-misc-fix-undefined-variable-e-57106.patch 0001-misc-fix-undefined-variable-e-57106.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a plus de 2 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Lauréline Guérin il y a plus de 2 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit 9aa5753641d8b8fc3e18a5a47fef16e90942bb01 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Mon Sep 20 15:17:33 2021 +0200 misc: fix undefined variable 'e' (#57106)
Mis à jour par Frédéric Péters il y a plus de 2 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: fix undefined variable 'e' (#57106)