commentaires pour les non adm dans une boucle
darcs-hash:20050907175244-4ec08-5c97fa5d96881bf03878fc80ec4c834a83c4095c.gz
This commit is contained in:
parent
fa49e282e5
commit
bc1c20bdc8
1 changed files with 32 additions and 22 deletions
|
@ -1354,8 +1354,18 @@ def modif_machine(machine) :
|
|||
"""
|
||||
|
||||
if not isadm :
|
||||
return set_machine(machine)
|
||||
step = 1
|
||||
while 1 :
|
||||
|
||||
if step == 1 :
|
||||
if set_machine(machine) : return 1
|
||||
else : step = 2
|
||||
|
||||
if step == 2 :
|
||||
if set_rque(machine) : step = 1
|
||||
else : return
|
||||
|
||||
else :
|
||||
arg = u'--title "Modification de %s" ' % machine.nom()
|
||||
arg+= u'--menu "Que souhaitez vous modifier ?" 0 0 0 '
|
||||
arg+= u'"Informations" "Modifier le nom de machine, l\'IP, adresse MAC" '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue