]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix mistake in the runSalome script: siman parameters are wrongly processed
authorvsr <vsr@opencascade.com>
Thu, 14 Mar 2013 11:28:07 +0000 (11:28 +0000)
committervsr <vsr@opencascade.com>
Thu, 14 Mar 2013 11:28:07 +0000 (11:28 +0000)
bin/runSalome.py

index 0c2bd7aa14dc024b733532788e95c4e6adf0c92a..0ffc7887b43a4e7da33369add2c295fb87eb7622 100755 (executable)
@@ -151,8 +151,9 @@ def simanStudyName(args):
         if 'siman' in args:
             siman_data = []
             for param in [ 'study', 'scenario', 'user']:
+                siman_param = "siman_%s"%param
                 if param in args:
-                    siman_data.append(args["siman_%s"%param])
+                    siman_data.append(args[siman_param])
                 else:
                     print "SIMAN %s must be defined using parameter --siman-%s=XXX" % (param, param)
                     pass