]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Python3 porting: some options of runSalome.py scripts don't work.
authorrnv <rnv@opencascade.com>
Tue, 23 May 2017 15:52:16 +0000 (18:52 +0300)
committerrnv <rnv@opencascade.com>
Tue, 23 May 2017 15:52:16 +0000 (18:52 +0300)
bin/launchConfigureParser.py

index 046f8866447be5650009f083cd904736fa833faf..4ea79d03cb2850d57f344573a187f8b5bc76f8f1 100755 (executable)
@@ -488,7 +488,7 @@ def check_standalone(option, opt, value, parser):
     pass
 
 def store_boolean (option, opt, value, parser, *args):
-    if isinstance(value, bytes):
+    if isinstance(value, bytes) or isinstance(value, str):
         try:
             value_conv = booleans[value.strip().lower()]
             for attribute in args: