]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
- Patch if there is no gui modules
authorribes <ribes>
Thu, 8 Nov 2007 10:36:05 +0000 (10:36 +0000)
committerribes <ribes>
Thu, 8 Nov 2007 10:36:05 +0000 (10:36 +0000)
bin/appli_gen.py

index 6d70fe9392d966df41d987ae193eeae8c6d1fdfd..89e30a94e02a4ff6bba8a68f75465228c548eae2 100644 (file)
@@ -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="""
     <parameter name="pyModules"  value=""/>