From: John Spray Date: Fri, 26 Feb 2016 12:49:00 +0000 (+0000) Subject: pybind: update ceph_volume_client for cython X-Git-Tag: v10.1.0~270^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F7745%2Fhead;p=ceph.git pybind: update ceph_volume_client for cython No need to explicitly touch the (no-longer-existing) load_libcephfs method during module load, as with the cython version we already get an ImportError if the C library is unavailable. Signed-off-by: John Spray --- diff --git a/src/pybind/ceph_volume_client.py b/src/pybind/ceph_volume_client.py index 2e284b280caa..8add31114c02 100644 --- a/src/pybind/ceph_volume_client.py +++ b/src/pybind/ceph_volume_client.py @@ -15,13 +15,6 @@ import rados import cephfs from ceph_argparse import json_command -# Generate missing lib errors at load time, rather than the -# first time someone tries to use the FS -try: - cephfs.load_libcephfs() -except EnvironmentError as e: - raise ImportError(e.__str__()) - class RadosError(Exception): """