[gest_crans] on autorise que les *-g.crans.org a avoir une MAC existante
darcs-hash:20091119020327-61eff-e02fbe2a1b0b9c2fa219b8a8e5532b1459184f31.gz
This commit is contained in:
parent
6d83c7aef0
commit
d0a6e18cf5
1 changed files with 1 additions and 1 deletions
|
@ -1413,7 +1413,7 @@ def set_machine(machine):
|
|||
try: machine.mac(result[1])
|
||||
except ValueError, c:
|
||||
if len(c.args)>1 and c.args[1] == 1 \
|
||||
and (isadm or machine.proprietaire().chbre()[0] == 'G'):
|
||||
and (isadm or machine.nom().endswith("-g.crans.org")):
|
||||
# Mac en double
|
||||
arg = u'--title "Adresse MAC" '
|
||||
arg += u'--yesno "L\'adresse MAC existe déja, continuer ? \n" 0 0'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue