From 182642d30e1087a60c12d41a17ad93f959bce242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Mon, 8 Apr 2013 13:05:05 +0200 Subject: [PATCH] =?UTF-8?q?[lc=5Fldap]=20Ici=20aussi=20ctxt=5Fcheck=20a=20?= =?UTF-8?q?=C3=A9t=C3=A9=20dropp=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lc_ldap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lc_ldap.py b/lc_ldap.py index 4e994bc..be6f438 100644 --- a/lc_ldap.py +++ b/lc_ldap.py @@ -696,7 +696,7 @@ class CransLdapObject(object): # blacklistes virtuelle si on est un adhérent pour carte étudiant et chambre invalides if self.__class__.__name__ == "adherent" and self.paiement_ok(): if not config.periode_transitoire and config.bl_carte_et_actif and not self.carte_ok() and not self.sursis_carte(): - bl = attributs.blacklist(u'%s$%s$%s$%s' % ('-', '-', 'carte_etudiant', ''), {}, self.conn, False) + bl = attributs.blacklist(u'%s$%s$%s$%s' % ('-', '-', 'carte_etudiant', ''), {}, self.conn) blacklist_liste.append(bl) if self['chbre'][0].value == '????': bl = attributs.blacklist(u'%s$%s$%s$%s' % ('-', '-', 'chambre_invalide', ''), {}, self.conn) @@ -718,7 +718,7 @@ class CransLdapObject(object): debut = int(time.time()) if fin == 'now': fin = int(time.time()) - bl = attributs.blacklist(u'%s$%s$%s$%s' % (debut, fin, sanction, commentaire), {}, self.conn, False) + bl = attributs.blacklist(u'%s$%s$%s$%s' % (debut, fin, sanction, commentaire), {}, self.conn) self._modifs.setdefault('blacklist', []).append(bl)