Les clubs peuvent etre déménagés
This commit is contained in:
parent
c4a2f1a717
commit
37b30c32e5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue