From a6cff1283bbffd00326b3898e2128d254fc4daeb Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Wed, 20 Jan 2010 22:14:12 +0100 Subject: [PATCH] [ldap_crans] *affli* *affli* *affli* darcs-hash:20100120211412-ffbb2-5eb8d8809dd0c9460c9acfd3e6ca681823f4c97d.gz --- gestion/ldap_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index dd96265a..59ead557 100644 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2764,7 +2764,7 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3) self._set('prise', []) return - if not re.match('^[a-cg-jmp][0-6][0-5][0-9]$', new.lower()): + if not re.match('^[a-cg-jmopv][0-7][0-5][0-9]$', new.lower()): raise ValueError('Prise incorrecte') self._set('prise', [new.upper()])