From 1592c7210f8a8e8547e3aa76bff0863e151e4792 Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Mon, 18 May 2020 14:13:57 +0200 Subject: [PATCH] pour vimmp training --- Noyau/N_MCCOMPO.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Noyau/N_MCCOMPO.py b/Noyau/N_MCCOMPO.py index 68f96a19..fc4d3914 100644 --- a/Noyau/N_MCCOMPO.py +++ b/Noyau/N_MCCOMPO.py @@ -168,8 +168,9 @@ class MCCOMPO(N_OBJECT.OBJECT): globs = self.jdc and self.jdc.condition_context or {} if v.verifPresence(dico_valeurs, globs): bloc = v(nom=k, val=nouveau_args, parent=self,dicoPyxbDeConstruction=self.dicoPyxbDeConstruction) - self.mcListe.append(bloc) - self.reste_val = bloc.reste_val + if bloc : + self.mcListe.append(bloc) + self.reste_val = bloc.reste_val def ordonneListe(self, mcListe): -- 2.39.2