Update oslo-incubator apiclient.exceptions module

Changes -
 * pep8: fixed multiple violations
 * fixed typos found by RETF rules

Change-Id: Ic0e9855e7cfdeae4e3230af24b4ebccf4995fa10
This commit is contained in:
Matthew Farrellee
2014-07-10 23:05:03 -04:00
parent 6f29bf23f6
commit e6202b9361

View File

@@ -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 = {