projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23d8677
)
devel/release-checks.sh: made python version check work with python 3
author
Tomi Ollila
<tomi.ollila@iki.fi>
Sun, 2 Aug 2015 09:48:25 +0000
(12:48 +0300)
committer
David Bremner
<david@tethera.net>
Tue, 4 Aug 2015 14:27:34 +0000
(16:27 +0200)
This trivial change consists of just putting print() argument in
parentheses.
devel/release-checks.sh
patch
|
blob
|
history
diff --git
a/devel/release-checks.sh
b/devel/release-checks.sh
index efd0b3441f2e9aecd7398cf941c1156eec77ff0d..bf0d68a444b6ce940dc7e8f265f8efff56c7f4bf 100755
(executable)
--- 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.