Anomalie #3393
Variables non déclarées dans bacula.py [dev]
Status:
Fermé
Priority:
Haut
Assigned To:
Category:
-
Target version:
Distribution:
EOLE 2.3
Description
Sur fraîche install (en dév) :
run-parts: executing /usr/share/eole/posttemplate/00-bacula instance global name 'BACULA_CONFIG_MAIL' is not defined
root@amonecole:~# pylint /usr/share/pyshared/pyeole/bacula.py 2>/dev/null | grep Undef E:374:apply_bacula_mail: Undefined variable 'BACULA_CONFIG_MAIL' E:375:apply_bacula_mail: Undefined variable 'BACULA_CONFIG_MAIL' E:379:apply_bacula_mail: Undefined variable 'BACULA_CONFIG_MAIL' E:382:apply_bacula_mail: Undefined variable 'BACULA_CONFIG_MAILONERROR'
Related issues
Associated revisions
Correction de la fonction is_running_jobs
La précédente version contenait des références obsolètes à des variables
- pyeole/bacula.py : remplacement des BACULA_CONFIG_MAIL par les
nouvelles variables et doublement du code quand nécessaire.
Fixes #3393
- pyeole/bacula.py : nettoyage du fichier
Ref #3393 @10m
History
#1 Updated by Benjamin Bohard about 11 years ago
- Status changed from Accepté to Résolu
- % Done changed from 0 to 100
Appliqué par commit 2c60ebceb76c07e615d5fbc10aad132283e7e4c3.
#2 Updated by Daniel Dehennin almost 11 years ago
- Status changed from Résolu to Fermé
root@seshat:~# pylint /usr/share/pyshared/pyeole/bacula.py 2>/dev/null | grep Undef root@seshat:~#