copr-be: fixup cleanup-unused-vms-from-redis for python3
This commit is contained in:
parent
bedb371caf
commit
e13758ba90
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ for worker; do
|
||||||
*) continue ;;
|
*) continue ;;
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
state=$(echo "$output" | python -c 'import sys, json; print json.load(sys.stdin)["state"]')
|
state=$(echo "$output" | python3 -c 'import sys, json; print(json.load(sys.stdin)["state"])')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case $state in
|
case $state in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue