]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/ceph_daemon.py: move _gettermsize() into Termsize
authorKefu Chai <kchai@redhat.com>
Tue, 23 May 2017 03:28:10 +0000 (11:28 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 23 May 2017 03:55:01 +0000 (11:55 +0800)
commit84f9c1251bb285a875895c352cab0fe067c1536b
treef9635ddae8f807d2939e2e4cb07b9b0844c84c8e
parent1367ab2a2db3d0e2b2f451bc79b1fb06d0f4dc5f
pybind/ceph_daemon.py: move _gettermsize() into Termsize

as the latter is the only consumer of _gettermsize(). and a little bit
refactor to improve the readability and be more pep8 compliant.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/ceph_daemon.py