return in precedent state
This commit is contained in:
parent
1917f64d56
commit
33eca48c11
|
@ -1025,16 +1025,16 @@ class Model :
|
||||||
|
|
||||||
ficName = chaine.group(1)
|
ficName = chaine.group(1)
|
||||||
className = chaine.group(2)
|
className = chaine.group(2)
|
||||||
|
|
||||||
# Roselyne : pour prendre en compte les modeles recursifs
|
# Roselyne : pour prendre en compte les modeles recursifs
|
||||||
import sys
|
#import sys
|
||||||
#moduleClass = __import__ ( ficName, globals(), locals(), [className] )
|
moduleClass = __import__ ( ficName, globals(), locals(), [className] )
|
||||||
#modeleClass = getattr ( moduleClass, className )
|
modeleClass = getattr ( moduleClass, className )
|
||||||
try :
|
#try :
|
||||||
modeleClass = getattr ( sys.modules['__main__'], className )
|
# modeleClass = getattr ( sys.modules['__main__'], className )
|
||||||
except AttributeError :
|
#except AttributeError :
|
||||||
moduleClass = __import__ ( ficName, globals(), locals(), [className] )
|
# moduleClass = __import__ ( ficName, globals(), locals(), [className] )
|
||||||
modeleClass = getattr ( moduleClass, className )
|
# modeleClass = getattr ( moduleClass, className )
|
||||||
# fin Roselyne
|
# fin Roselyne
|
||||||
|
|
||||||
instCell = modeleClass ( modele2, dict )
|
instCell = modeleClass ( modele2, dict )
|
||||||
|
|
Loading…
Reference in New Issue