From 13d102782d3f52139ee77f5b03bdc571f7f08c2b Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Thu, 15 Jul 2010 08:13:28 +0000 Subject: [PATCH] *** empty log message *** --- Noyau/N_VALIDATOR.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Noyau/N_VALIDATOR.py b/Noyau/N_VALIDATOR.py index 6419ebfb..0e06870a 100644 --- a/Noyau/N_VALIDATOR.py +++ b/Noyau/N_VALIDATOR.py @@ -765,6 +765,10 @@ class AndVal(Valid): self.validators.append(FunctionVal(validator)) else: self.validators.append(validator) + if hasattr(validator,'fonctions'): + for fonction in validator.fonctions : + f=getattr(validator,fonction) + setattr(self,fonction,f) self.cata_info="" def info(self): @@ -1301,6 +1305,7 @@ class VerifExiste(ListVal) : self.niveauVerif=niveauVerif self.MCSimp=None self.listeDesFreres=() + self.fonctions=('set_liste','verifie_liste','set_MCSimp') def set_liste(self,item): #on cherche le bon niveau de l arbre -- 2.39.2