diff --git a/attributs.py b/attributs.py index 0a4baae..3948a7e 100644 --- a/attributs.py +++ b/attributs.py @@ -1192,7 +1192,7 @@ class gpgMail(mail): super(mail, self).check_uniqueness(liste_exclue) def parse_value(self, mail): - mail = mail.lower + mail = mail.lower() super(gpgMail, self).parse_value(mail) @crans_attribute diff --git a/lc_ldap.py b/lc_ldap.py index b0a5d06..8e76168 100644 --- a/lc_ldap.py +++ b/lc_ldap.py @@ -81,13 +81,13 @@ class lc_ldap(ldap.ldapobject.LDAPObject, object): le ``dn`` associé à l'uid ``user``, et effectue l'authentification avec ce ``dn`` et ``cred`` - Sinon effectue une authentification anonyme - + Si on ne se binde pas en anonyme, il faut de toutes façons fournir un ``user``. Il sert à savoir qui fait les modifications (utilisé dans les champs historique). - + """ ldap.ldapobject.LDAPObject.__init__(self, uri) - + self.lockholder = ldap_locks.LdapLockHolder(self) if user and not re.match('[a-z_][a-z0-9_-]*', user):