]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Fix for the '23041: [CEA 1468] In master with Paraview 4.3.1, the trace does not...
authorrnv <rnv@opencascade.com>
Tue, 21 Apr 2015 16:57:25 +0000 (19:57 +0300)
committerrnv <rnv@opencascade.com>
Tue, 21 Apr 2015 16:57:25 +0000 (19:57 +0300)
src/ENGINE/PVSERVER.py

index ba89f5073a4df307c484877c9d479b17a9402a5a..6b9060132c1c0ba767fc1f8b89470d2f3a38a41b 100644 (file)
@@ -200,19 +200,19 @@ class PVSERVER(PVSERVER_ORB__POA.PVSERVER_Gen,
         attr.SetValue( PVSERVER_utils.objectID() )
         pass
 
-    """
-    Dump module data to the Python script.
-    """
-    def DumpPython( self, study, isPublished, isMultiFile ):
-        MESSAGE("dumpPython()") 
-        abuffer = self.GetPythonTraceString().split("\n")
-        if isMultiFile:
-#             abuffer       = [ "  " + s for s in abuffer ]
-#             abuffer[0:0]  = [ "def RebuildData( theStudy ):" ]
-#             abuffer      += [ "  pass" ]
-        abuffer += [ "\0" ]
-        return ("\n".join( abuffer ), 1)
-  
+    """
+    Dump module data to the Python script.
+    """
+    def DumpPython( self, study, isPublished, isMultiFile ):
+        MESSAGE("dumpPython()") 
+        abuffer = self.GetPythonTraceString().split("\n")
+        if isMultiFile:
+         abuffer       = [ "  " + s for s in abuffer ]
+          abuffer[0:0]  = [ "def RebuildData( theStudy ):" ]
+          abuffer      += [ "  pass" ]
+        abuffer += [ "\0" ]
+        return ("\n".join( abuffer ), 1)
+
     """
     Import file to restore module data
     """