if isinstance(MC.valeur, str) and MC.valeur in list(self.jdc.sds_dict.keys()):
MC.valeur=self.jdc.sds_dict[MC.valeur]
else :
+ print ('MC', MC.nom, MC.definition.max)
for val in MC.valeur :
newVal=[]
if isinstance(val, str) and val in list(self.jdc.sds_dict.keys()):
- newVal.append(self.jdc.sds_dict[MC.valeur])
+ newVal.append(self.jdc.sds_dict[val])
MC.valeur=newVal
if MC.definition.max == 1 :
if MC.valeur in listeSupprimees:
for t in (self.type) :
if isinstance(t,str): continue
if isinstance(t,Accas.A_TUPLE.Tuple): continue
- if issubclass(t, Accas.UserASSD) : self.doitSenregistrerComme= t
+ try :
+ if issubclass(t, Accas.UserASSD) : self.doitSenregistrerComme= t
+ except : pass
self.fr = fr
self.statut = statut
self.into = into