From: jfa Date: Sat, 24 Nov 2007 12:17:25 +0000 (+0000) Subject: Fix bug 17587 (restore fix for NPAL15643): Study, containing PYHELLO object, isn... X-Git-Tag: V4_1_0rc2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3bcf4908c8f5e3b5f3964dbbc619927c5ec0f522;p=modules%2Fkernel.git Fix bug 17587 (restore fix for NPAL15643): Study, containing PYHELLO object, isn't saved. --- diff --git a/src/SALOMEDS/SALOME_DriverPy.py b/src/SALOMEDS/SALOME_DriverPy.py index 8346a3979..9e8f5264a 100644 --- a/src/SALOMEDS/SALOME_DriverPy.py +++ b/src/SALOMEDS/SALOME_DriverPy.py @@ -38,7 +38,7 @@ class SALOME_DriverPy_i(SALOMEDS__POA.Driver): return self._ComponentDataType def Save(self, theComponent, theURL, isMultiFile): - return NULL + return "" def SaveASCII(self, theComponent, theURL, isMultiFile): return self.Save(theComponent, theURL, isMultiFile) @@ -56,7 +56,7 @@ class SALOME_DriverPy_i(SALOMEDS__POA.Driver): return 1 def PublishInStudy(self, theStudy, theSObject, theObject, theName): - return NULL + return None def CanCopy(self, theObject): return 0