From 3d73191b08a8d6e6b160ec66afe6c99c9cf67c80 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Tue, 14 May 2013 23:29:12 +0200 Subject: [PATCH] [attributs.controle] controle est optionnel --- attributs.py | 2 +- test.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/attributs.py b/attributs.py index 9cee600..02e2017 100644 --- a/attributs.py +++ b/attributs.py @@ -1000,7 +1000,7 @@ class postalAddress(Attr): class controle(Attr): singlevalue = True - optional = False + optional = True legend = u"ContrĂ´le" can_modify = [tresorier, nounou] category = 'perso' diff --git a/test.py b/test.py index dd5b859..cd4a12f 100755 --- a/test.py +++ b/test.py @@ -24,7 +24,6 @@ adherent_ldif = { 'prenom' : ['toto'], 'nom' : ['passoir'], 'chbre' : ['EXT'], - 'controle': ['p'], 'tel' : ['0000000000'], 'mail' : ['nobody@test.org'], 'etudes' : ['ENS', '1', 'A0'],