]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: Adapt code to support Python3 26029/head
authorVolker Theile <vtheile@suse.com>
Thu, 29 Nov 2018 12:48:30 +0000 (13:48 +0100)
committerAlfredo Deza <adeza@redhat.com>
Fri, 18 Jan 2019 14:21:04 +0000 (09:21 -0500)
commit29ccfb93e90046e8ad7a9d48d548ef57db6a3ffb
treedbe9d093350416bcb76179922663402b17cc5163
parent157b278e701e3395eeb7e3839c33867a672988f1
ceph-volume: Adapt code to support Python3

- raw_input() has been renamed to input() in Python3
- Changed signature of prompt_bool. Variables that are named like built-ins must be named like xxx_ and not _xxx

Fixes: https://tracker.ceph.com/issues/37470
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit fe25a0ea625e75c598f6d0749e7259eef167fa8e)
src/ceph-volume/ceph_volume/tests/util/test_util.py
src/ceph-volume/ceph_volume/util/__init__.py