From b0cb97cfc8a669fe1f15899fb48be19fe8fe80e8 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Thu, 26 Sep 2013 13:01:35 +0200 Subject: [PATCH] [gen_conf/droits.py] Because boolean are too mainstream ? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit suckers… --- gestion/gen_confs/droits.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/gen_confs/droits.py b/gestion/gen_confs/droits.py index cf0c7e96..57f683b0 100755 --- a/gestion/gen_confs/droits.py +++ b/gestion/gen_confs/droits.py @@ -105,9 +105,9 @@ class droits_ldap(CransLdap, droits): if ML[0] == '+' : ML = ML[1:] - only_add = 1 + only_add = True else : - only_add = 0 + only_add = False # Instance correspondant à la ML mlist = MailList.MailList(ML)