From 4b172fd27d57df435a3e53e6f3cae3197a54c303 Mon Sep 17 00:00:00 2001 From: John Spray Date: Fri, 26 Feb 2016 12:49:00 +0000 Subject: [PATCH] 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 --- src/pybind/ceph_volume_client.py | 7 ------- 1 file changed, 7 deletions(-) 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): """ -- 2.47.3