From 94cfa47873a810919c978eac7727e3f218fba921 Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Tue, 31 Aug 2010 16:20:18 +0200 Subject: [PATCH] [ldap_crans] les chambres ???? et EXT sont au Cr@ns darcs-hash:20100831142018-ffbb2-78bc4edcbef535da70e157633565ba473e76e5d1.gz --- gestion/ldap_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 52c6501e..cd4445d2 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -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] ]: 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: bat = self._data['chbre'][0][0] ch = self._data['chbre'][0][1:]