#print ('MCList getDicoObjetsCompletsPourTree pour ', self)
listeDict=[]
nbFactDejaLa=len(self.data)
- print ('_______________________________________________________________')
- print (self.data)
for i in self.data:
dico = i.getDicoForFancy()
if nbFactDejaLa > i.definition.min : dico['statut']='f'
- if nbFactDejaLa < i.definition.max : dico['repetable'] = 1
+ if nbFactDejaLa < i.definition.max-1 : dico['repetable'] = 1
else : dico['repetable'] = 0
listeDict.append(dico)
return listeDict