From 311ca943df6a7163099de39614409856a5efcae6 Mon Sep 17 00:00:00 2001 From: prascle Date: Mon, 28 Nov 2005 10:36:48 +0000 Subject: [PATCH] PR: report corrections from occ --- src/SALOMEDS/SALOME_DriverPy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/SALOMEDS/SALOME_DriverPy.py b/src/SALOMEDS/SALOME_DriverPy.py index 37eb83800..c92c9fc33 100644 --- a/src/SALOMEDS/SALOME_DriverPy.py +++ b/src/SALOMEDS/SALOME_DriverPy.py @@ -2,13 +2,13 @@ import SALOMEDS__POA class SALOME_DriverPy_i(SALOMEDS__POA.Driver): """ + Python implementation of generic SALOMEDS driver. + Should be inherited by any Python module's engine + to provide persistence mechanism. """ - # class variable = default if instance variable is not found - _ComponentDataType = None def __init__ (self, componentDataType): print "SALOME_DriverPy.__init__: ",componentDataType - # instance variable : need self. self._ComponentDataType = componentDataType def IORToLocalPersistentID(self, theSObject, IORString, isMultiFile, isASCII): @@ -18,7 +18,7 @@ class SALOME_DriverPy_i(SALOMEDS__POA.Driver): return "" def ComponentDataType(self): - return _ComponentDataType + return self._ComponentDataType def Save(self, theComponent, theURL, isMultiFile): return NULL -- 2.39.2