Salome HOME
projects
/
tools
/
eficas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pb python3
[tools/eficas.git]
/
Ihm
/
I_MCSIMP.py
diff --git
a/Ihm/I_MCSIMP.py
b/Ihm/I_MCSIMP.py
index dd02069d3cdf4cbcc0541b2e4ab42a11e918aeea..53067a77173f406a321d8bd92691654f7278be9f 100644
(file)
--- a/
Ihm/I_MCSIMP.py
+++ b/
Ihm/I_MCSIMP.py
@@
-64,6
+64,8
@@
class MCSIMP(I_OBJECT.OBJECT):
if hasattr(type_permis, "__class__") and type_permis.__class__.__name__ == 'Matrice':
self.monType=type_permis
return self.valideMatrice(cr=cr)
if hasattr(type_permis, "__class__") and type_permis.__class__.__name__ == 'Matrice':
self.monType=type_permis
return self.valideMatrice(cr=cr)
+ if self.definition.siValide != None :
+ self.definition.siValide(self)
return Validation.V_MCSIMP.MCSIMP.isvalid(self,cr=cr)
def GetNomConcept(self):
return Validation.V_MCSIMP.MCSIMP.isvalid(self,cr=cr)
def GetNomConcept(self):
@@
-442,7
+444,8
@@
class MCSIMP(I_OBJECT.OBJECT):
# Glut Horrible pour les matrices ???
if sd.__class__.__name__== "variable":
for type_permis in self.definition.type:
# Glut Horrible pour les matrices ???
if sd.__class__.__name__== "variable":
for type_permis in self.definition.type:
- if type(type_permis) == types.InstanceType:
+ #if type(type_permis) == types.InstanceType:
+ # a voir en python 3
if type_permis.__class__.__name__ == 'Matrice' :
self.state="changed"
self.isvalid()
if type_permis.__class__.__name__ == 'Matrice' :
self.state="changed"
self.isvalid()