summaryrefslogtreecommitdiff
path: root/swiftclient/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftclient/client.py')
-rw-r--r--swiftclient/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py
index d917cc2..84b50d2 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -294,6 +294,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:
sys.exit('''