summaryrefslogtreecommitdiff
path: root/saharaclient/openstack
diff options
context:
space:
mode:
authorMatthew Farrellee <matt@redhat.com>2014-07-10 23:05:03 -0400
committerMatthew Farrellee <matt@redhat.com>2014-07-10 23:05:03 -0400
commite6202b9361f6818e5a1644a61a13bf6802345a11 (patch)
tree5f0278735a1f1072a12682e54825e072f1723740 /saharaclient/openstack
parent6f29bf23f6de18da1473fa224579daec0dd602dd (diff)
downloadpython-saharaclient-e6202b9361f6818e5a1644a61a13bf6802345a11.tar.gz
Update oslo-incubator apiclient.exceptions module
Changes - * pep8: fixed multiple violations * fixed typos found by RETF rules Change-Id: Ic0e9855e7cfdeae4e3230af24b4ebccf4995fa10
Diffstat (limited to 'saharaclient/openstack')
-rw-r--r--saharaclient/openstack/common/apiclient/exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/saharaclient/openstack/common/apiclient/exceptions.py b/saharaclient/openstack/common/apiclient/exceptions.py
index 5dc2c6d..891d79f 100644
--- a/saharaclient/openstack/common/apiclient/exceptions.py
+++ b/saharaclient/openstack/common/apiclient/exceptions.py
@@ -77,7 +77,7 @@ class AuthPluginOptionsMissing(AuthorizationFailure):
class AuthSystemNotFound(AuthorizationFailure):
- """User has specified a AuthSystem that is not installed."""
+ """User has specified an AuthSystem that is not installed."""
def __init__(self, auth_system):
super(AuthSystemNotFound, self).__init__(
_("AuthSystemNotFound: %s") % repr(auth_system))
@@ -427,7 +427,7 @@ def from_response(response, method, url):
"""
req_id = response.headers.get("x-openstack-request-id")
- #NOTE(hdd) true for older versions of nova and cinder
+ # NOTE(hdd) true for older versions of nova and cinder
if not req_id:
req_id = response.headers.get("x-compute-request-id")
kwargs = {