From 6a80a97081440f873fd53078aa04c728474cef6e Mon Sep 17 00:00:00 2001 From: ouv Date: Thu, 13 May 2021 19:59:10 +0300 Subject: [PATCH] Compatibility with Python 3.x. --- bin/runLightSalome.csh | 2 +- bin/runLightSalome.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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="" -- 2.39.2