From 77ed0d4d0c3413b15aa348613b8b40373bd5765b Mon Sep 17 00:00:00 2001 From: lin-hua-cheng Date: Wed, 13 Jan 2016 13:03:51 -0800 Subject: Address hacking check H405 Previously, there were a string of commits to keystone that addresed ignored hacking checks. This commit does the same for H405 in keystoneclient. This also modifies our tox.ini so that we no longer ignore H405 violations. Change-Id: I2af152e5425a0e9c82314039fdbb90d661c22680 Closes-Bug: 1482773 --- keystoneclient/httpclient.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'keystoneclient/httpclient.py') diff --git a/keystoneclient/httpclient.py b/keystoneclient/httpclient.py index cb910b6..5fdc4f2 100644 --- a/keystoneclient/httpclient.py +++ b/keystoneclient/httpclient.py @@ -752,8 +752,10 @@ class HTTPClient(baseclient.Client, base.BaseAuthPlugin): return self._adapter.request(*args, **kwargs) def _cs_request(self, url, method, management=True, **kwargs): - """Makes an authenticated request to keystone endpoint by - concatenating self.management_url and url and passing in method and + """Makes an authenticated request to keystone endpoint. + + Request are made to keystone endpoint by concatenating + self.management_url and url and passing in method and any associated kwargs. """ if not management: -- cgit v1.2.1