]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: Adapt code to support Python3 26030/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:29:56 +0000 (09:29 -0500)
commit9b082bcb3c10b20874a5d33474788b29731427ed
tree4bdab5908e4bf6bbb95a615260f4b8a2ea8b9d59
parentbc70f5c6ae6d8a18d8ca43399151645d214dd052
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