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
Merge branch 'pre/V8_5_BR'
[tools/yacsgen.git]
/
Examples
/
cpp1
/
components.py
diff --git
a/Examples/cpp1/components.py
b/Examples/cpp1/components.py
index 0507e5338e0c16973a5085e5a9972fe65d08fd70..cbdd7ffc53299537b91b82666281c0ebb0ed58b2 100644
(file)
--- a/
Examples/cpp1/components.py
+++ b/
Examples/cpp1/components.py
@@
-1,4
+1,4
@@
-# Copyright (C) 2009-201
5
EDF R&D
+# Copyright (C) 2009-201
6
EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-20,7
+20,7
@@
import os
#import context from ..
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,CPPComponent
cwd=os.getcwd()
from module_generator import Generator,Module,Service,CPPComponent
cwd=os.getcwd()