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
/
pydoc1
/
components.py
diff --git
a/Examples/pydoc1/components.py
b/Examples/pydoc1/components.py
index f56fd8fccdcd2fc6b8890e59bd1702dcc5434730..6a8fc904024f003b192613af17898e4c9ae17f85 100644
(file)
--- a/
Examples/pydoc1/components.py
+++ b/
Examples/pydoc1/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 *