summaryrefslogtreecommitdiff
path: root/keystoneclient/exceptions.py
diff options
context:
space:
mode:
authorJoe Heck <heckj@mac.com>2012-06-01 18:07:26 -0700
committerJoe Heck <heckj@mac.com>2012-06-01 18:07:26 -0700
commit52b392281ef301c4ee85ae071ec8e26facdcbbdc (patch)
treee8d130985996627314e457dbd637157c34a1600d /keystoneclient/exceptions.py
parentaa9761433065a260dc2b571deb10957347a76d4e (diff)
downloadpython-keystoneclient-52b392281ef301c4ee85ae071ec8e26facdcbbdc.tar.gz
pep8 1.1 changes and updates
Change-Id: I8bc3582bb3f35a3d841bb1e8c03b62ba61ff92d7
Diffstat (limited to 'keystoneclient/exceptions.py')
-rw-r--r--keystoneclient/exceptions.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/keystoneclient/exceptions.py b/keystoneclient/exceptions.py
index f52800d..d01f3d2 100644
--- a/keystoneclient/exceptions.py
+++ b/keystoneclient/exceptions.py
@@ -101,8 +101,12 @@ class HTTPNotImplemented(ClientException):
# for c in ClientException.__subclasses__())
#
# Instead, we have to hardcode it:
-_code_map = dict((c.http_status, c) for c in [BadRequest, Unauthorized,
- Forbidden, NotFound, OverLimit, HTTPNotImplemented])
+_code_map = dict((c.http_status, c) for c in [BadRequest,
+ Unauthorized,
+ Forbidden,
+ NotFound,
+ OverLimit,
+ HTTPNotImplemented])
def from_response(response, body):