X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Noyau%2FN_ENTITE.py;h=d9387e293f3259ba4d0018d18af0194cd37a4e31;hb=9f4ff7ed9afd87c96e11d61e442e39e5511f60d1;hp=27e13d503758fc332933e5f56d4c9e434a00e7a6;hpb=1b91010fc2c0a681db9177d6fa0e4e0af866ec31;p=tools%2Feficas.git diff --git a/Noyau/N_ENTITE.py b/Noyau/N_ENTITE.py index 27e13d50..d9387e29 100644 --- 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: - 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)