diff --git a/src/discovery/disc_auth_keystone.py b/src/discovery/disc_auth_keystone.py index 8ab3cf88b52..d379992708d 100644 --- a/src/discovery/disc_auth_keystone.py +++ b/src/discovery/disc_auth_keystone.py @@ -8,7 +8,10 @@ try: from keystoneclient.middleware import auth_token except ImportError: - from keystonemiddleware import auth_token + try: + from keystonemiddleware import auth_token + except Exception: + pass except Exception: pass