From 094e87455828e35c31d219cca6efc405f24d4789 Mon Sep 17 00:00:00 2001 From: pauget Date: Sun, 17 Oct 2004 22:10:49 +0200 Subject: [PATCH] Bug darcs-hash:20041017201049-41617-af6a8e6bdc9d35464f6fdac9a822fcccbad2b04b.gz --- gestion/ldap_crans.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index 1fd2b6aa..7cb54e3a 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -760,12 +760,10 @@ class base_classes_crans(crans_ldap) : modif='inscription' else : if "chbre" in self.modifs: - modif= self.modifs.remove("chbre") - modif.append("chbre %s -> %s" % (self._init_data["chbre"][0], + self.modifs.remove("chbre") + self.modifs.append("chbre %s -> %s" % (self._init_data["chbre"][0], self._data["chbre"][0])) - else: - modif = self.modifs - modif=', '.join(modif) + modif=', '.join(self.modifs) timestamp = localtime() hist = "%s, %s" % ( time.strftime(date_format, timestamp), script_utilisateur )