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
This commit is contained in:
parent
1c659c246d
commit
d45f2d4627
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user