devel/release-checks.sh: made python version check work with python 3

This trivial change consists of just putting print() argument in
parentheses.
This commit is contained in:
Tomi Ollila 2015-08-02 12:48:25 +03:00 committed by David Bremner
parent 23d86773b9
commit 6d5c7b3ca5

View file

@ -141,7 +141,7 @@ else
fi fi
echo -n "Checking that python bindings version is $VERSION... " echo -n "Checking that python bindings version is $VERSION... "
py_version=`python -c "with open('$PV_FILE') as vf: exec(vf.read()); print __VERSION__"` py_version=`python -c "with open('$PV_FILE') as vf: exec(vf.read()); print(__VERSION__)"`
if [ "$py_version" = "$VERSION" ] if [ "$py_version" = "$VERSION" ]
then then
echo Yes. echo Yes.