From 2cefc3550c099680565b7af61eb65e4a8a846c39 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 21 Jun 2018 16:30:26 -0400 Subject: [PATCH] use python3 to run launchpad commenting script Use python3 when running the script to comment on launchpad tickets as part of the release process. The depends-on patch adds the python3 version of launchpadlib via bindep. Change-Id: I189d83462381723bb8309c248d0ace21ae6f30c1 Story: #2001691 Task: #22329 Depends-On: https://review.openstack.org/577290 Signed-off-by: Doug Hellmann --- roles/copy-release-tools-scripts/files/release-tools/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copy-release-tools-scripts/files/release-tools/release.sh b/roles/copy-release-tools-scripts/files/release-tools/release.sh index 4b0f0199b4..3307fe97f9 100755 --- a/roles/copy-release-tools-scripts/files/release-tools/release.sh +++ b/roles/copy-release-tools-scripts/files/release-tools/release.sh @@ -94,7 +94,7 @@ BUGS=$(git log $PREVIOUS..$VERSION | egrep -i "Closes(.| )Bug:" | egrep -o "[0-9 if [[ -z "$BUGS" ]]; then echo "No bugs found $PREVIOUS .. $VERSION" else - python2 -u $TOOLSDIR/launchpad_add_comment.py \ + python3 -u $TOOLSDIR/launchpad_add_comment.py \ --subject="Fix included in $REPO $VERSION" \ --content="This issue was fixed in the $REPO $VERSION $RELEASETYPE." \ $BUGS