From: rnv Date: Tue, 23 May 2017 15:52:16 +0000 (+0300) Subject: Python3 porting: some options of runSalome.py scripts don't work. X-Git-Tag: V9_0_0~25^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=451534233b0c5dd96f9139b88830988a94dc0f9a;p=modules%2Fkernel.git Python3 porting: some options of runSalome.py scripts don't work. --- diff --git a/bin/launchConfigureParser.py b/bin/launchConfigureParser.py index 046f88664..4ea79d03c 100755 --- a/bin/launchConfigureParser.py +++ b/bin/launchConfigureParser.py @@ -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: