From: CEA Support SALOME Date: Fri, 6 Feb 2015 15:33:39 +0000 (+0100) Subject: script of PROFILE generation app-quickstart.py : adding _NO_ as possible value of... X-Git-Tag: V7_6_0a1~28^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9f41d2ad2652cd1a1c8d99bb07a37421ea38901c;p=modules%2Fkernel.git script of PROFILE generation app-quickstart.py : adding _NO_ as possible value of modules option in order to prevent SalomeAPP.xml.in to have the module list --- diff --git a/src/AppQuickStart/app-quickstart.py b/src/AppQuickStart/app-quickstart.py index c4942a11e..f04439da2 100755 --- a/src/AppQuickStart/app-quickstart.py +++ b/src/AppQuickStart/app-quickstart.py @@ -163,6 +163,8 @@ def profileReplaceStrings( src, dst, options ) : with open( dst, "wt" ) as fout: with open( src, "rt" ) as fin: for line in fin: + if options.modules == '_NO_' and '[LIST_OF_MODULES]' in line: + line = '' l = line.replace( '[LIST_OF_MODULES]', options.modules ) l = l.replace( '[VERSION]', options.version ) l = l.replace( '[SLOGAN]', options.slogan )