summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--swiftclient/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py
index 9851b1f..40cb9fe 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -290,6 +290,8 @@ def _import_keystone_client(auth_version):
else:
from keystoneclient.v2_0 import client as ksclient
from keystoneclient import exceptions
+ # prevent keystoneclient warning us that it has no log handlers
+ logging.getLogger('keystoneclient').addHandler(NullHandler())
return ksclient, exceptions
except ImportError:
raise ClientException('''