diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-05-04 19:54:48 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-05-04 19:54:48 +0000 |
| commit | a3fa3fbfdf0bcfe320204136a45735733453a569 (patch) | |
| tree | f3f10a998d2ac69fcaab63ddbde2d9bf4441ad40 /keystoneclient | |
| parent | e9471bdf4cb96816ff551cde6b6fdc1e9cb00d3e (diff) | |
| parent | 14900dd683ba49f085456101118dd12105d2d98e (diff) | |
| download | python-keystoneclient-a3fa3fbfdf0bcfe320204136a45735733453a569.tar.gz | |
Merge "httpclient: remove unused debug kwargs"
Diffstat (limited to 'keystoneclient')
| -rw-r--r-- | keystoneclient/httpclient.py | 6 | ||||
| -rw-r--r-- | keystoneclient/tests/unit/test_discovery.py | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/keystoneclient/httpclient.py b/keystoneclient/httpclient.py index 59d5af4..1a5383b 100644 --- a/keystoneclient/httpclient.py +++ b/keystoneclient/httpclient.py @@ -196,9 +196,6 @@ class HTTPClient(baseclient.Client, base.BaseAuthPlugin): :param string original_ip: This argument is deprecated as of the 1.7.0 release in favor of session and may be removed in the 2.0.0 release. (optional) - :param boolean debug: This argument is deprecated as of the 1.7.0 release - in favor of logging configuration and may be removed - in the 2.0.0 release. (optional) :param dict auth_ref: To allow for consumers of the client to manage their own caching strategy, you may initialize a client with a previously captured auth_reference (token). If @@ -249,7 +246,7 @@ class HTTPClient(baseclient.Client, base.BaseAuthPlugin): @positional(enforcement=positional.WARN) def __init__(self, username=None, tenant_id=None, tenant_name=None, password=None, auth_url=None, region_name=None, endpoint=None, - token=None, debug=False, auth_ref=None, use_keyring=False, + token=None, auth_ref=None, use_keyring=False, force_new_token=False, stale_duration=None, user_id=None, user_domain_id=None, user_domain_name=None, domain_id=None, domain_name=None, project_id=None, project_name=None, @@ -378,7 +375,6 @@ class HTTPClient(baseclient.Client, base.BaseAuthPlugin): self.session = session self.domain = '' - self.debug_log = debug # NOTE(jamielennox): unfortunately we can't just use **kwargs here as # it would incompatibly limit the kwargs that can be passed to __init__ diff --git a/keystoneclient/tests/unit/test_discovery.py b/keystoneclient/tests/unit/test_discovery.py index 7b7ab53..dc3110f 100644 --- a/keystoneclient/tests/unit/test_discovery.py +++ b/keystoneclient/tests/unit/test_discovery.py @@ -499,7 +499,6 @@ class ClientDiscoveryTests(utils.TestCase): client = disc.create_client(debug=True, password='bar') self.assertIsInstance(client, v3_client.Client) - self.assertTrue(client.debug_log) self.assertFalse(disc._client_kwargs['debug']) self.assertEqual(client.username, 'foo') self.assertEqual(client.password, 'bar') |
