Commit 9702b182 authored by Vincent Le gallic's avatar Vincent Le gallic
Browse files

Rage commit

parent 68fd355d
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from lc_ldap import lc_ldap
__all__ = [lc_ldap]
......@@ -288,7 +288,7 @@ class droits(Attr):
def parse_value(self, val, ldif):
if val.lower() not in ['apprenti', 'nounou', 'cableur', 'tresorier', 'bureau',
'webmaster', 'webradio', 'imprimeur', 'multimachines', 'victime', 'moderateur']:
'webmaster', 'webradio', 'imprimeur', 'multimachines', 'victime', 'moderateur', 'nounours']:
raise ValueError("Ces droits n'existent pas ('%s')" % val)
if val.lower() == 'webmaster':
self.value = u'WebMaster'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment