[ldap_crans] Exceptions en str
darcs-hash:20100904133907-ffbb2-fc397f6e3d005e0d49d1a1f5f791bf821cc7c4ec.gz
This commit is contained in:
parent
062df15601
commit
b19d9cc71b
2 changed files with 116 additions and 116 deletions
|
@ -577,7 +577,7 @@ def set_droits(adher):
|
|||
droit = droit.strip()
|
||||
if droit == '': continue
|
||||
if droit not in droits_possibles:
|
||||
raise ValueError(u'Droit %s incorrect' % droit)
|
||||
raise ValueError('Droit %s incorrect' % droit)
|
||||
new.append(droit)
|
||||
|
||||
# Dans le cas où l'utilisateur qui modifie n'est pas Nounou, on ajoute les
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue