diff --git a/__init__.py b/__init__.py index e69de29..9cf1040 100644 --- a/__init__.py +++ b/__init__.py @@ -0,0 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from lc_ldap import lc_ldap +__all__ = [lc_ldap] diff --git a/attributs.py b/attributs.py index 657a211..74c1cbc 100644 --- a/attributs.py +++ b/attributs.py @@ -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'