diff options
Diffstat (limited to 'cinderclient/client.py')
-rw-r--r-- | cinderclient/client.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cinderclient/client.py b/cinderclient/client.py index 6193e95..485acd9 100644 --- a/cinderclient/client.py +++ b/cinderclient/client.py @@ -35,7 +35,10 @@ from keystoneauth1.identity import base from oslo_utils import encodeutils from oslo_utils import importutils from oslo_utils import strutils -osprofiler_web = importutils.try_import("osprofiler.web") # noqa +try: + osprofiler_web = importutils.try_import("osprofiler.web") +except Exception: + pass import requests from six.moves import urllib import six.moves.urllib.parse as urlparse |