[attributs] Type python à int pour la classe responsable

This commit is contained in:
Valentin Samir 2014-02-14 02:20:10 +01:00
parent 03c45b8889
commit 6fffbd7bd3

View file

@ -990,6 +990,7 @@ class responsable(Attr):
category = 'perso'
can_modify = [cableur, nounou]
ldap_name = "responsable"
python_type = int # en vrai, c'est l'aid du responsable
def nonefunction(self, resp):
"""
@ -1020,7 +1021,7 @@ class responsable(Attr):
value = property(get_respo, nonefunction)
def __unicode__(self):
return self.__value
return unicode(self.__value)
@crans_attribute
class imprimeurClub(Attr):