From: jfa Date: Thu, 19 Apr 2007 11:40:20 +0000 (+0000) Subject: NPAL15643: EDF402: Bug when saving PYHELLO object. X-Git-Tag: T_EDF_15278 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=026ed16ad524c5926b210d144c035d78d319746d;p=modules%2Fkernel.git NPAL15643: EDF402: Bug when saving PYHELLO object. --- 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