From: ouv Date: Thu, 13 May 2021 16:59:10 +0000 (+0300) Subject: Compatibility with Python 3.x. X-Git-Tag: CTH_2_5_1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6a80a97081440f873fd53078aa04c728474cef6e;p=modules%2Fgui.git Compatibility with Python 3.x. --- diff --git a/bin/runLightSalome.csh b/bin/runLightSalome.csh index bbca5b19e..59aca2833 100755 --- a/bin/runLightSalome.csh +++ b/bin/runLightSalome.csh @@ -76,7 +76,7 @@ end # set additional environment ### -set python_version=`python -c "import sys; print sys.version[:3]"` +set python_version=`python -c "import sys; print(sys.version[:3])"` set MY_PATH="" set MY_LD_LIBRARY_PATH="" diff --git a/bin/runLightSalome.sh b/bin/runLightSalome.sh index 658f8f447..51a1cf29c 100755 --- a/bin/runLightSalome.sh +++ b/bin/runLightSalome.sh @@ -68,7 +68,7 @@ done # set additional environment ### -python_version=`python -c "import sys; print sys.version[:3]" 2>/dev/null` +python_version=`python -c "import sys; print(sys.version[:3])" 2>/dev/null` MY_PATH="" MY_LD_LIBRARY_PATH=""