From: Pascale Noyret Date: Thu, 15 Jul 2010 08:13:28 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V2_0~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=13d102782d3f52139ee77f5b03bdc571f7f08c2b;p=modules%2Feficas.git *** empty log message *** --- 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