Tâche #10824
Distribution EOLE - Scénario #10823: Prendre en compte le fait que le chemin de la commande ipset a changé
Corriger le chemin de la commande ipset dans pyeole/diagnose
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
jojo-zotac:~/git/python-pyeole(2.5/master)$ rgrep BIN_IPSET * pyeole/diagnose/diagnose.py:BIN_IPSET = '/usr/sbin/ipset' pyeole/diagnose/diagnose.py: if not isfile(CACHE_IPSET) or not isfile(BIN_IPSET): pyeole/diagnose/diagnose.py: code, out, err = system_out([BIN_IPSET, 'save']) pyeole/diagnose/diagnose.py: print('impossible de lancer {0}'.format(BIN_IPSET))
Associated revisions
Correction du chemin vers « ipset »
- pyeole/diagnose/diagnose.py : modification du code testant la présence du script et ses appels
Fixes: #10824 @1h
Modification de la librairie utilisée pour tester la présence d'ipset
- pyeole/diagnose/diagnose.py : utilisation de "distutils.spawn.find_executable"
a la place de "twisted.python.procutils.which"
Ref: #10824 @10m
History
#1 Updated by Joël Cuissinat about 8 years ago
- Status changed from Nouveau to En cours
#2 Updated by Joël Cuissinat about 8 years ago
- Assigned To set to Joël Cuissinat
#3 Updated by Joël Cuissinat about 8 years ago
- Status changed from En cours to Résolu
- % Done changed from 0 to 100
Appliqué par commit fe3a41e04fc8c4a3e7a69d3a9c15fc21127dfa06.
#4 Updated by Joël Cuissinat about 8 years ago
- Remaining (hours) changed from 2.0 to 0.15
#5 Updated by Joël Cuissinat about 8 years ago
Vu
#6 Updated by Joël Cuissinat about 8 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.15 to 0.0