From: ribes Date: Thu, 8 Nov 2007 10:36:05 +0000 (+0000) Subject: - Patch if there is no gui modules X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f8d03bbd5c4a126a04e8ecfcff87e37312c40e11;p=modules%2Fkernel.git - Patch if there is no gui modules --- diff --git a/bin/appli_gen.py b/bin/appli_gen.py index 6d70fe939..89e30a94e 100644 --- a/bin/appli_gen.py +++ b/bin/appli_gen.py @@ -215,7 +215,8 @@ def install(prefix,config_file): f.write(module) f.write(',') pass - f.write(_config["guimodules"][-1]) + if len(_config["guimodules"]) > 0: + f.write(_config["guimodules"][-1]) f.write('"/>') command="""