[objets, attributs] Ajout d'une classe objet inetOrgPerson
Parce que sinon, ça plante quand je récupère l'inetOrgPerson respbats dans mon jouet fuse.
This commit is contained in:
parent
c29e92e3b8
commit
ac5f2f17ae
2 changed files with 7 additions and 1 deletions
|
@ -719,6 +719,12 @@ def crans_object(classe):
|
|||
ObjectFactory.register(classe.ldap_name, classe)
|
||||
return classe
|
||||
|
||||
@crans_object
|
||||
class InetOrgPerson(CransLdapObject):
|
||||
ldap_name = "inetOrgPerson"
|
||||
def __repr__(self):
|
||||
return str(self.__class__.__name__) + " : cn=" + str(self['cn'][0])
|
||||
pass
|
||||
|
||||
class proprio(CransLdapObject):
|
||||
u""" Un propriétaire de machine (adhérent, club…) """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue