Project

General

Profile

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

Added by Joël Cuissinat about 6 years ago. Updated about 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/06/2015
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
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

Revision fe3a41e0 (diff)
Added by Joël Cuissinat about 6 years ago

Correction du chemin vers « ipset »

  • pyeole/diagnose/diagnose.py : modification du code testant la présence du script et ses appels

Fixes: #10824 @1h

Revision db010f95 (diff)
Added by Joël Cuissinat about 6 years ago

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 6 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Joël Cuissinat about 6 years ago

  • Assigned To set to Joël Cuissinat

#3 Updated by Joël Cuissinat about 6 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#4 Updated by Joël Cuissinat about 6 years ago

  • Remaining (hours) changed from 2.0 to 0.15

#5 Updated by Joël Cuissinat about 6 years ago

Vu

#6 Updated by Joël Cuissinat about 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.15 to 0.0

Also available in: Atom PDF