]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
NPAL15643: EDF402: Bug when saving PYHELLO object. T_EDF_15278 T_PAL_15278 V3_2_6 V3_2_6pre5
authorjfa <jfa@opencascade.com>
Thu, 19 Apr 2007 11:40:20 +0000 (11:40 +0000)
committerjfa <jfa@opencascade.com>
Thu, 19 Apr 2007 11:40:20 +0000 (11:40 +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