]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
Make python print statements python3 compatible
authorJohn Fulton <fulton@redhat.com>
Fri, 1 Feb 2019 13:32:14 +0000 (08:32 -0500)
committermergify[bot] <mergify[bot]@users.noreply.github.com>
Fri, 1 Feb 2019 15:23:27 +0000 (15:23 +0000)
commit37b5d1084ab21b897d939d5801cf8857bc98d7a7
treed3cfb1cb6a4f380efdc46525afaef4e712f8feb1
parent7b411b93d57cedfb3965ca0d562fbea226ccf030
Make python print statements python3 compatible

The restart_osd_daemon.sh generated from the j2 template
contains a python call which uses 'print x' instead of
'print(x)'. Add the missing parentheses to make this call
compatible with both 2 and 3.

Also add parentheses to other python print calls found
in roles/ceph-client/defaults/main.yml and
infrastructure-playbooks/cluster-os-migration.yml.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1671721
Signed-off-by: John Fulton <fulton@redhat.com>
group_vars/clients.yml.sample
infrastructure-playbooks/untested-by-ci/cluster-os-migration.yml
roles/ceph-client/defaults/main.yml
roles/ceph-handler/templates/restart_osd_daemon.sh.j2