Salome HOME
projects
/
samples
/
pyhello.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyrights
[samples/pyhello.git]
/
src
/
PYHELLO
/
PYHELLO.py
diff --git
a/src/PYHELLO/PYHELLO.py
b/src/PYHELLO/PYHELLO.py
old mode 100755
(executable)
new mode 100644
(file)
index
3303c8f
..
9692c26
--- a/
src/PYHELLO/PYHELLO.py
+++ b/
src/PYHELLO/PYHELLO.py
@@
-1,4
+1,4
@@
-# Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
9
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-29,7
+29,7
@@
import PYHELLO_ORB__POA
import SALOME_ComponentPy
import SALOME_DriverPy
import SALOMEDS
import SALOME_ComponentPy
import SALOME_DriverPy
import SALOMEDS
-from PYHELLO_utils import findOrCreateComponent, objectID, moduleName
+from PYHELLO_utils import findOrCreateComponent, objectID, moduleName
, getStudy
class PYHELLO(PYHELLO_ORB__POA.PYHELLO_Gen,
SALOME_ComponentPy.SALOME_ComponentPy_i,
class PYHELLO(PYHELLO_ORB__POA.PYHELLO_Gen,
SALOME_ComponentPy.SALOME_ComponentPy_i,
@@
-117,4
+117,5
@@
class PYHELLO(PYHELLO_ORB__POA.PYHELLO_Gen,
abuffer[0:0] = [ "def RebuildData():" ]
abuffer += [ " pass" ]
abuffer += [ "\0" ]
abuffer[0:0] = [ "def RebuildData():" ]
abuffer += [ " pass" ]
abuffer += [ "\0" ]
- return ("\n".join( abuffer ), 1)
+ res = "\n".join( abuffer )
+ return (res.encode(), 1)