Typo
darcs-hash:20041019171657-d1718-063a48a144011cfaf1500d131fcbb95ae92b6a15.gz
This commit is contained in:
parent
c770fee0cc
commit
5f8c3ad3af
1 changed files with 13 additions and 14 deletions
|
@ -894,8 +894,7 @@ def set_machine(machine) :
|
||||||
|
|
||||||
try : machine.mac(result[1])
|
try : machine.mac(result[1])
|
||||||
except ValueError, c :
|
except ValueError, c :
|
||||||
if len(c.args)>1:
|
if len(c.args)>1 and c.args[1] == 1 and isadm:
|
||||||
if c.args[1] == 1 and isadm :
|
|
||||||
# Mac en double
|
# Mac en double
|
||||||
arg = u'--title "Adresse MAC" '
|
arg = u'--title "Adresse MAC" '
|
||||||
arg+= u'--yesno "L\'adresse MAC existe déja, continuer ? \n" 0 0'
|
arg+= u'--yesno "L\'adresse MAC existe déja, continuer ? \n" 0 0'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue