decodage pour les accents
dsl fred pour le mail du crans de gest_crans :-) bonne nuit a tous darcs-hash:20050909210415-4ec08-283f89d34c31e3090641c827c5c84159cf693496.gz
This commit is contained in:
parent
f01a63d611
commit
c67c1b3c6f
1 changed files with 2 additions and 2 deletions
|
@ -854,8 +854,8 @@ class base_classes_crans(crans_ldap) :
|
||||||
if 'droits' in self.modifs:
|
if 'droits' in self.modifs:
|
||||||
anciens_droits = self._init_data.get('droits',[])
|
anciens_droits = self._init_data.get('droits',[])
|
||||||
nouveaux_droits = self._data.get('droits',[])
|
nouveaux_droits = self._data.get('droits',[])
|
||||||
droits_ajoutes = ''.join( [ '+%s' % d for d in nouveaux_droits if d not in anciens_droits ] )
|
droits_ajoutes = ''.join( [ '+%s' % decode(d) for d in nouveaux_droits if d not in anciens_droits ] )
|
||||||
droits_enleves = ''.join( [ '-%s' % d for d in anciens_droits if d not in nouveaux_droits ] )
|
droits_enleves = ''.join( [ '-%s' % decode(d) for d in anciens_droits if d not in nouveaux_droits ] )
|
||||||
modif = modif.replace("droits", "droits : " + droits_ajoutes + droits_enleves )
|
modif = modif.replace("droits", "droits : " + droits_ajoutes + droits_enleves )
|
||||||
|
|
||||||
timestamp = localtime()
|
timestamp = localtime()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue