aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2015-08-02 12:48:25 +0300
committerDavid Bremner <david@tethera.net>2015-08-04 16:27:34 +0200
commit6d5c7b3ca50cb2ce36d4a2d6e6f064afcba7410b (patch)
tree0d3fe8d8624df58132bd4904170aba30781bb958 /devel
parent23d86773b9e1b8111921af94f7f14ea0867eaee2 (diff)
devel/release-checks.sh: made python version check work with python 3
This trivial change consists of just putting print() argument in parentheses.
Diffstat (limited to 'devel')
-rwxr-xr-xdevel/release-checks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/release-checks.sh b/devel/release-checks.sh
index efd0b344..bf0d68a4 100755
--- a/devel/release-checks.sh
+++ b/devel/release-checks.sh
@@ -141,7 +141,7 @@ else
fi
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" ]
then
echo Yes.