-# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2019 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
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,
abuffer[0:0] = [ "def RebuildData():" ]
abuffer += [ " pass" ]
abuffer += [ "\0" ]
- return ("\n".join( abuffer ), 1)
+ res = "\n".join( abuffer )
+ return (res.encode(), 1)