summaryrefslogtreecommitdiff
path: root/keystoneclient/client.py
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2012-04-05 17:25:37 -0500
committerJosh Kearney <josh@jk0.org>2012-04-05 17:27:12 -0500
commit5628eeaf76882d469b9acbbf1c8516982e819c7b (patch)
tree7d2eddf06ac1bca76a42d4c804fc61859c4ecd6a /keystoneclient/client.py
parent7b8532908b869902dea1d9355c93c40fec258ef6 (diff)
downloadpython-keystoneclient-5628eeaf76882d469b9acbbf1c8516982e819c7b.tar.gz
Removed unused imports and variables.
Also fixes AUTHORS file. Previous version was copied directly from python-novaclient. Change-Id: I33654b6fe7197efbff300ebaf4892a8b53d85c54
Diffstat (limited to 'keystoneclient/client.py')
-rw-r--r--keystoneclient/client.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/keystoneclient/client.py b/keystoneclient/client.py
index 3042d09..337f048 100644
--- a/keystoneclient/client.py
+++ b/keystoneclient/client.py
@@ -11,8 +11,6 @@ OpenStack Client interface. Handles the REST calls and responses.
import copy
import logging
import os
-import time
-import urllib
import urlparse
import httplib2
@@ -119,7 +117,7 @@ class HTTPClient(httplib2.Http):
if body:
try:
body = json.loads(body)
- except ValueError, e:
+ except ValueError:
_logger.debug("Could not decode JSON from body: %s" % body)
else:
_logger.debug("No body was returned.")