From d45f2d4627d7aaf00f55ee297fbaf6e77afa0c63 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Mon, 19 Feb 2018 16:39:41 -0600 Subject: [PATCH] Fix syntax error when running tools with py3 Trivial issue where print is now a function and therefore needs () to avoid a syntax error. Change-Id: Iad083874ac14e0bee19134a7b46b10d29945987c --- tools/inactive_project_report.sh | 2 +- tools/list_changes_unreleased_deliverables.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/inactive_project_report.sh b/tools/inactive_project_report.sh index ce4940d026..473387b299 100755 --- a/tools/inactive_project_report.sh +++ b/tools/inactive_project_report.sh @@ -17,7 +17,7 @@ fi setup_temp_space inactive-project-report # Figure out the current series from the releases directory. -current_series=$(python -c 'import openstack_releases.defaults; print openstack_releases.defaults.RELEASE') +current_series=$(python -c 'import openstack_releases.defaults; print(openstack_releases.defaults.RELEASE)') if [ -z "$current_series" ]; then echo "Could not determine the current release series." exit 1 diff --git a/tools/list_changes_unreleased_deliverables.sh b/tools/list_changes_unreleased_deliverables.sh index b61fb2c7ff..a199f75414 100755 --- a/tools/list_changes_unreleased_deliverables.sh +++ b/tools/list_changes_unreleased_deliverables.sh @@ -15,7 +15,7 @@ if [[ -z "$VIRTUAL_ENV" ]]; then fi # Figure out the current series from the releases directory. -current_series=$(python -c 'import openstack_releases.defaults; print openstack_releases.defaults.RELEASE') +current_series=$(python -c 'import openstack_releases.defaults; print(openstack_releases.defaults.RELEASE)') if [ -z "$current_series" ]; then echo "Could not determine the current release series." exit 1