Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 1242B6DE19D0 for ; Sun, 2 Aug 2015 02:48:46 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.32 X-Spam-Level: X-Spam-Status: No, score=0.32 tagged_above=-999 required=5 tests=[AWL=0.860, RP_MATCHES_RCVD=-0.55, T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w5iPAa9MyXSL for ; Sun, 2 Aug 2015 02:48:43 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by arlo.cworth.org (Postfix) with ESMTP id 4D7476DE1905 for ; Sun, 2 Aug 2015 02:48:42 -0700 (PDT) Received: by guru.guru-group.fi (Postfix, from userid 501) id 7D0AF10009D; Sun, 2 Aug 2015 12:48:27 +0300 (EEST) From: Tomi Ollila To: notmuch@notmuchmail.org Subject: [PATCH] devel/release-checks.sh: made python version check work with python 3 Date: Sun, 2 Aug 2015 12:48:25 +0300 Message-Id: <1438508905-10955-1-git-send-email-tomi.ollila@iki.fi> X-Mailer: git-send-email 2.0.0 Cc: tomi.ollila@iki.fi X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2015 09:48:46 -0000 This trivial change consists of just putting print() argument in parentheses. --- devel/release-checks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/release-checks.sh b/devel/release-checks.sh index efd0b3441f2e..bf0d68a444b6 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. -- 2.0.0