From bfd419ec6a7787198e8289e0f58762e5062f3e47 Mon Sep 17 00:00:00 2001 From: bos Date: Wed, 21 Feb 2007 12:33:35 +0100 Subject: [PATCH] Plus lgant darcs-hash:20070221113335-c992d-47bbedfc24f4c4c4316b160621ef4b896f1b12dc.gz --- gestion/gest_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index db898d2a..47ec0551 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -1443,7 +1443,7 @@ def modif_adher(adher): arg += u'"Droits" "Modifier les droits alloués à cet adhérent" ' if 'posixAccount' in adher._data['objectClass']: arg += u'"Shell" "Changer le shell de cet utilisateur" ' - if isbureau & adher.droits().count('Nounou') == 0: + if isbureau and 'Nounou' not in adher.droits(): arg += u'"Droits" "Modifier les droits alloués à cet adhérent" ' if isdeconnecteur: arg += u'"Blackliste" "Modifier la blackliste de cet adhérent" '