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
commentaire
[tools/eficas.git]
/
Noyau
/
N_ENTITE.py
diff --git
a/Noyau/N_ENTITE.py
b/Noyau/N_ENTITE.py
index 27e13d503758fc332933e5f56d4c9e434a00e7a6..d9387e293f3259ba4d0018d18af0194cd37a4e31 100644
(file)
--- a/
Noyau/N_ENTITE.py
+++ b/
Noyau/N_ENTITE.py
@@
-252,7
+252,7
@@
class ENTITE(object):
def check_into(self):
"""Vérifie l'attribut into."""
if self.into != None:
def check_into(self):
"""Vérifie l'attribut into."""
if self.into != None:
- if
type(self.into) not in (list, tuple)
:
+ if
(type(self.into) not in (list, tuple)) and (type(self.into) != types.FunctionType)
:
self.cr.fatal(
_(u"L'attribut 'into' doit être un tuple : %r"), self.into)
self.cr.fatal(
_(u"L'attribut 'into' doit être un tuple : %r"), self.into)