From: vsr Date: Fri, 12 Feb 2010 08:34:30 +0000 (+0000) Subject: Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump X-Git-Tag: V5_1_main_20100217 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=640e6053ff0b9a66a8311f2b39a9757100226c53;p=modules%2Fmultipr.git Issue 20509: EDF 1065 OTHER : Add the Salome version in the header of the dump --- diff --git a/src/MULTIPR/MULTIPR_i.cxx b/src/MULTIPR/MULTIPR_i.cxx index 7e2b7db..147c6b7 100644 --- a/src/MULTIPR/MULTIPR_i.cxx +++ b/src/MULTIPR/MULTIPR_i.cxx @@ -1408,9 +1408,7 @@ Engines::TMPFile* MULTIPR_Gen_i::DumpPython (CORBA::Object_ptr theStudy, std::string aSavedTrace (oldValue); // Add trace of API methods calls and replace study entries by names - std::string aScript = - "### This file is generated by SALOME automatically " - "by dump python functionality of MULTIPR component\n\n"; + std::string aScript; aScript += DumpPython_impl(aStudy->StudyId(), isPublished, isValidScript, aSavedTrace); int aLen = aScript.length();