summaryrefslogtreecommitdiff
path: root/keystoneclient/session.py
diff options
context:
space:
mode:
authorlin-hua-cheng <os.lcheng@gmail.com>2016-01-13 13:03:51 -0800
committerlin-hua-cheng <os.lcheng@gmail.com>2016-01-13 13:03:51 -0800
commit77ed0d4d0c3413b15aa348613b8b40373bd5765b (patch)
tree01e67a56791a4575eb28ee25de46cd6111035bde /keystoneclient/session.py
parent7327067f98f5e118790817f7c81e444c7fe7c25b (diff)
downloadpython-keystoneclient-77ed0d4d0c3413b15aa348613b8b40373bd5765b.tar.gz
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
Diffstat (limited to 'keystoneclient/session.py')
-rw-r--r--keystoneclient/session.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/keystoneclient/session.py b/keystoneclient/session.py
index 0376fc1..770d007 100644
--- a/keystoneclient/session.py
+++ b/keystoneclient/session.py
@@ -530,7 +530,9 @@ class Session(object):
@classmethod
def construct(cls, kwargs):
- """Handles constructing a session from the older
+ """Handles constructing a session from both old and new arguments.
+
+ Support constructing a session from the old
:py:class:`~keystoneclient.httpclient.HTTPClient` args as well as the
new request-style arguments.
@@ -766,8 +768,7 @@ class Session(object):
@utils.positional.classmethod()
def get_conf_options(cls, deprecated_opts=None):
- """Get the oslo_config options that are needed for a
- :py:class:`.Session`.
+ """Get oslo_config options that are needed for a :py:class:`.Session`.
These may be useful without being registered for config file generation
or to manipulate the options before registering them yourself.