From f07cd7c52e1f70d542270ac7e52bc2a4a8249ddc Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 21 Apr 2015 19:57:25 +0300 Subject: [PATCH] Fix for the '23041: [CEA 1468] In master with Paraview 4.3.1, the trace does not appear in the dump': rollback changes that were made in the frame of the 81da00916a4935b commit. --- src/ENGINE/PVSERVER.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/ENGINE/PVSERVER.py b/src/ENGINE/PVSERVER.py index ba89f507..6b906013 100644 --- a/src/ENGINE/PVSERVER.py +++ b/src/ENGINE/PVSERVER.py @@ -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 """ -- 2.39.2