Salome HOME
projects
/
tools
/
eficas.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
CCAR: Modified Files:
[tools/eficas.git]
/
Ihm
/
I_PRESENT_PRESENT.py
1
"""
2
"""
3
4
import I_REGLE
5
6
class PRESENT_PRESENT(I_REGLE.REGLE):
7
def verif_condition_regle(self,liste,l_mc_presents):
8
mc0=self.mcs[0]
9
for mc_present in l_mc_presents:
10
if mc_present == mc0 :
11
for mc in self.mcs[1:]:
12
nb = l_mc_presents.count(mc)
13
if nb == 0 : liste.append(mc)
14
return liste
15
return liste
16
17