Salome HOME
projects
/
tools
/
yacsgen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Porting to python3
[tools/yacsgen.git]
/
Examples
/
paco3
/
components.py
diff --git
a/Examples/paco3/components.py
b/Examples/paco3/components.py
index eab10df341be6435ee70125df5d7ccc535d53e94..a3f4ab98f37662dab760df9199d88a2bde31d1ea 100644
(file)
--- a/
Examples/paco3/components.py
+++ b/
Examples/paco3/components.py
@@
-21,7
+21,7
@@
import os
#import context from ..
-exec
file("../pacocontext.py"
)
+exec
(compile(open("../pacocontext.py").read(), "../pacocontext.py", 'exec')
)
from module_generator import Generator,Module,Service,PACOComponent
cwd=os.getcwd()