[ldap_crans] les chambres ???? et EXT sont au Cr@ns

darcs-hash:20100831142018-ffbb2-78bc4edcbef535da70e157633565ba473e76e5d1.gz
This commit is contained in:
Nicolas Dandrimont 2010-08-31 16:20:18 +02:00
parent a46a617017
commit 94cfa47873

View file

@ -1748,7 +1748,7 @@ class BaseProprietaire(BaseClasseCrans):
if 'chbre' in self.modifs and '????' in [ self._init_data.get("chbre", [''])[0] , self._init_data.get("chbre", [''])[0] ]: if 'chbre' in self.modifs and '????' in [ self._init_data.get("chbre", [''])[0] , self._init_data.get("chbre", [''])[0] ]:
self.services_to_restart('bl_chbre_invalide') self.services_to_restart('bl_chbre_invalide')
if 'chbre' in self.modifs: if 'chbre' in self.modifs and self._data['chbre'][0] not in ("????", "EXT"):
while True: while True:
bat = self._data['chbre'][0][0] bat = self._data['chbre'][0][0]
ch = self._data['chbre'][0][1:] ch = self._data['chbre'][0][1:]