[Reportbug-commits] [reportbug] 31/32: use python3 to print reportbug version

Sandro Tosi morph at moszumanska.debian.org
Thu Dec 1 01:36:53 UTC 2016


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch master
in repository reportbug.

commit 3301109b3439ea880586174b139e4b70b12839b0
Author: Sandro Tosi <morph at debian.org>
Date:   Wed Nov 30 20:31:21 2016 -0500

    use python3 to print reportbug version
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index dd1b373..66335a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 
 VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/^Version: \([^+]*\).*/\1/')
 DISTRO := $(shell dpkg-parsechangelog | egrep '^Distribution:' | sed 's/^Distribution: \([^+]*\).*/\1/')
-REPORTBUG_VERSION := $(shell python -c "import reportbug; print reportbug.VERSION_NUMBER")
+REPORTBUG_VERSION := $(shell python3 -c "import reportbug; print(reportbug.VERSION_NUMBER)")
 
 %:
 	dh $@ --with=python3

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git



More information about the Reportbug-commits mailing list