]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind: remove unused get_ceph_version() 17727/head
authorKefu Chai <kchai@redhat.com>
Thu, 14 Sep 2017 09:45:07 +0000 (17:45 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 14 Sep 2017 10:02:54 +0000 (18:02 +0800)
commit3bf2382376e9853d72eb4f080c04f0160b9182ab
tree8973f785661ca44bb6c851af7c7af7b12faaab80
parent07159477ee3c124a8f93b8636e42e6c30c91ab7a
pybind: remove unused get_ceph_version()

get_ceph_version() was get_version() before 7b04e7ff. and after that
change, the version number of the python extension is hardwired to
`__version__`. because pybind is a wrapper around the public APIs
exposed by librados, librbd and libcephfs, which are versioned
separately from ceph daemons and tools, it's reasonable not to use the
version number in ceph_ver.h. thus, it's safe to drop this function.

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