[ldap_crans.py] typo

darcs-hash:20090929153203-bd074-38dcbe847fb4a0a889b20c0219f852f81a49aad5.gz
This commit is contained in:
Antoine Durand-Gasselin 2009-09-29 17:32:03 +02:00
parent 3fbc3252b1
commit 932ce0e70b

View file

@ -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)