En chantier...
darcs-hash:20070930192055-c992d-9924745af7233af3afddb3230e5e3d379a6b1290.gz
This commit is contained in:
parent
534c4e4467
commit
72ee8c46ae
1 changed files with 4 additions and 0 deletions
|
@ -2201,6 +2201,10 @@ class Adherent(BaseProprietaire):
|
||||||
raise ValueError(u'Droit %s incorrect' % droit)
|
raise ValueError(u'Droit %s incorrect' % droit)
|
||||||
new.append(droit.encode('utf-8'))
|
new.append(droit.encode('utf-8'))
|
||||||
|
|
||||||
|
ancien = self._data.get('droits',[])
|
||||||
|
#for droit in new:
|
||||||
|
#if droit not in ancien:
|
||||||
|
#db.services_to_restart("mail_ajout_droits", {"Login" : "passoir", "Droit" : "balayeur"})
|
||||||
if new != self._data.get('droits', []):
|
if new != self._data.get('droits', []):
|
||||||
self._set('droits', new)
|
self._set('droits', new)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue