]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: Adapt code to support Python3 25324/head
authorVolker Theile <vtheile@suse.com>
Thu, 29 Nov 2018 12:48:30 +0000 (13:48 +0100)
committerVolker Theile <vtheile@suse.com>
Thu, 3 Jan 2019 15:37:54 +0000 (16:37 +0100)
commitfe25a0ea625e75c598f6d0749e7259eef167fa8e
tree58b255a41c8394ef433cf5407c70177cb919834d
parentd78850bb56bfe2ead2699dfd5a4508c137a88b07
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>
src/ceph-volume/ceph_volume/tests/util/test_util.py
src/ceph-volume/ceph_volume/util/__init__.py