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
/
fort1
/
components.py
diff --git
a/Examples/fort1/components.py
b/Examples/fort1/components.py
index 0a7e91b26c4d086690bb4c249a3a0f699255b817..539f27e43c20612f765685ca1a3b7fde69ad4f53 100644
(file)
--- a/
Examples/fort1/components.py
+++ b/
Examples/fort1/components.py
@@
-20,7
+20,7
@@
import os
#import context from ..
-exec
file("../context.py"
)
+exec
(compile(open("../context.py").read(), "../context.py", 'exec')
)
from module_generator import Generator,Module,Service,F77Component
from module_generator import Library