X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Examples%2Fcalcium2%2Fcomponents.py;h=c6fd48b576f1306ca7fa6777882f81654d9a147a;hb=469a00178741e5e610d250dc03df29769a532cd3;hp=e89b9bc9dc8604032f40b50cd9972547ba0e97ca;hpb=66878b26e99b42a47bc1158616e9028c345c372e;p=tools%2Fyacsgen.git diff --git a/Examples/calcium2/components.py b/Examples/calcium2/components.py index e89b9bc..c6fd48b 100644 --- a/Examples/calcium2/components.py +++ b/Examples/calcium2/components.py @@ -20,7 +20,7 @@ import os #import context from .. -execfile("../context.py") +exec(compile(open("../context.py").read(), "../context.py", 'exec')) from module_generator import Generator,Module,Service,PYComponent,CPPComponent,F77Component from module_generator import Library