From 87f1520401e6090ef159e195cd2672fdbf523440 Mon Sep 17 00:00:00 2001 From: Antoine Durand-Gasselin Date: Wed, 21 Apr 2010 12:49:55 +0200 Subject: [PATCH] [gestion/gest_crans.py] needed bugfix darcs-hash:20100421104955-bd074-7ef1656a4aa38cebf9d45e35c0ffaf6e0de6bf03.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 05519e09..23ed46db 100644 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -598,7 +598,7 @@ def set_droits(adher): # MLs pour lesquelles un autre droit abonne encore for droit in new: - for ml in [m for m in old_mls if droit in droits_mls[m]]: + for ml in [m for m in old_mls if droit in droits_mls.get(m, [])]: old_mls.pop(ml) # Choix des MLs auxquelles débonner