From 9ea7d3cc033bfb9a73a39e5fc2437025c70f41c2 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 25 Aug 2008 14:56:12 +0000 Subject: [PATCH] *** empty log message *** --- src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx index 876bcf344..2d80d7cf8 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_IParameters.cxx @@ -280,8 +280,13 @@ string SALOMEDSImpl_IParameters::getStudyScript(SALOMEDSImpl_Study* study, int s for(int i = 0; i lst = ip.getValues(v[i]); dump += "# fill list "+v[i]+"\n"; - for(int j = 0; j < lst.size(); j++) - dump += "ipar.append(\""+v[i]+"\", \""+lst[j]+"\")\n"; + for(int j = 0; j < lst.size(); j++) { + printf("### %s \nFind : %i\n",lst[j].c_str(), lst[j].find('\"')); + if (lst[j].find('\"') == -1) + dump += "ipar.append(\""+v[i]+"\", \""+lst[j]+"\")\n"; + else + dump += "ipar.append(\""+v[i]+"\", \"\"\""+lst[j]+"\"\"\")\n"; + } } } -- 2.39.2