Skip to content

Commit

Permalink
pybind: update ceph_volume_client for cython
Browse files Browse the repository at this point in the history
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 <john.spray@redhat.com>
  • Loading branch information
John Spray committed Feb 26, 2016
1 parent 74711cb commit 8969ae2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/pybind/ceph_volume_client.py
Expand Up @@ -15,13 +15,6 @@
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):
"""
Expand Down

0 comments on commit 8969ae2

Please sign in to comment.