[ldap_crans.py] typo
darcs-hash:20090929153203-bd074-38dcbe847fb4a0a889b20c0219f852f81a49aad5.gz
This commit is contained in:
parent
3fbc3252b1
commit
932ce0e70b
1 changed files with 2 additions and 2 deletions
|
@ -3149,8 +3149,8 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
|
|||
|
||||
################################################################
|
||||
# définintion de __setitem__
|
||||
def __setitem__(self, label, value):
|
||||
CransLdap.__setitem__(self, label, value)
|
||||
def __setitem__(self, lbl, value):
|
||||
CransLdap.__setitem__(self, lbl, value)
|
||||
|
||||
if lbl == 'mac': self.mac(value)
|
||||
elif lbl == 'host': self.nom(value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue