From 37b30c32e59a10f388333235d69d7aa94702b9b9 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Wed, 18 Nov 2015 14:31:17 +0100 Subject: [PATCH] =?UTF-8?q?Les=20clubs=20peuvent=20etre=20d=C3=A9m=C3=A9na?= =?UTF-8?q?g=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- attributs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attributs.py b/attributs.py index 8951f61..ca8b76c 100644 --- a/attributs.py +++ b/attributs.py @@ -892,7 +892,7 @@ class chbre(Attr): def parse_value(self, chambre): if self.parent != None and u'club' in [str(o) for o in self.parent['objectClass']]: - if chambre in annuaires_pg.locaux_clubs(): + if chambre in annuaires_pg.locaux_clubs() or chambre in (u"EXT", u"????"): self.value = chambre else: raise ValueError("Club devrait etre en XclN, pas en %r" % chambre)