]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/ceph_daemon: do not fail if prettytable is not available 40335/head
authorKefu Chai <kchai@redhat.com>
Tue, 23 Mar 2021 08:06:45 +0000 (16:06 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 23 Mar 2021 08:06:46 +0000 (16:06 +0800)
commit170e71508061ea4a019c6f3b9fa13248d119f151
treec0f31969f0cda4eb4ff38da67fea9d87b5ef7b14
parent15c7740fff4f419bb14d3b70fc5d356fb41c96dc
pybind/ceph_daemon: do not fail if prettytable is not available

ubuntu focal does not package python-prettytable. but we need to run
"make check" on focal. it turns out the prettytable is not a must have
for running "make check", so just skip it if it is not around.

this change is not cherry-picked from master, as we have dropped python2
support in master, and python3-prettytable is packged fro python3 on
ubuntu focal. also nautilus is the latest release which has python2
support.

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