From 85b0c6b7fa87622089bf7b876b97c6260bbaa977 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Tue, 27 Nov 2012 20:03:48 +0100 Subject: [PATCH] =?UTF-8?q?En=20fait=20une=20ann=C3=A9e=20dans=20le=20futu?= =?UTF-8?q?r=20n'est=20pas=20interdite.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Osm ayant adhéré jusqu'en 2021, on en a légèrement besoin… --- attributs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attributs.py b/attributs.py index 0b98e14..822f27a 100644 --- a/attributs.py +++ b/attributs.py @@ -204,7 +204,7 @@ class yearAttr(intAttr): optional= True def parse_value(self, val, ldif): - if int(val) < 1998 or int(val) > config.ann_scol: + if int(val) < 1998: raise ValueError("Annee invalide (%s)" % val) self.value = int(val)