]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix bug 17587 (restore fix for NPAL15643): Study, containing PYHELLO object, isn...
authorjfa <jfa@opencascade.com>
Sat, 24 Nov 2007 12:17:25 +0000 (12:17 +0000)
committerjfa <jfa@opencascade.com>
Sat, 24 Nov 2007 12:17:25 +0000 (12:17 +0000)
src/SALOMEDS/SALOME_DriverPy.py

index 8346a3979024a118afa4990b19e8a80e4188e646..9e8f5264ae8fc65ff3ad1c1ff6bf8c0cf5a92be3 100644 (file)
@@ -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