Fix use of print function on python3

Fixes failures of qdrouterd based py35-func-amqp1 tests on python3

Change-Id: I14bfc3ca0756114c9235df2b4785c4a75f40a5ac
This commit is contained in:
Kenneth Giusti 2017-08-24 09:59:09 -04:00
parent ba30a3067d
commit a76e8c043a

View File

@ -170,8 +170,8 @@ EOF
}
function _start_qdrouterd {
MAJOR=$(python -c 'import sys; print sys.version_info.major')
MINOR=$(python -c 'import sys; print sys.version_info.minor')
MAJOR=$(python -c 'import sys; print(sys.version_info.major)')
MINOR=$(python -c 'import sys; print(sys.version_info.minor)')
# qdrouterd needs access to global site packages
# create path file and place in virtual env working directory
SITEDIR=${WORKDIR}/${ENVNAME}/lib/python${MAJOR}.${MINOR}/site-packages