]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
MPV: fix of the merging problems: "siman_" prefix must be used
authormpv <mpv@opencascade.com>
Mon, 18 Mar 2013 11:48:30 +0000 (11:48 +0000)
committermpv <mpv@opencascade.com>
Mon, 18 Mar 2013 11:48:30 +0000 (11:48 +0000)
bin/runSalome.py

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