summaryrefslogtreecommitdiff
path: root/keystoneclient/httpclient.py
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2015-07-26 07:42:10 -0500
committerBrant Knudson <bknudson@us.ibm.com>2015-08-13 18:59:31 -0500
commit58cc453b2030ba904be48feb0c95e0df4a4fc9ac (patch)
tree6974f8e1f45d116c55dc97f4280550f54d97dea1 /keystoneclient/httpclient.py
parent0d293eaf4413f82f55e3b13062b2bc710a6f3935 (diff)
downloadpython-keystoneclient-58cc453b2030ba904be48feb0c95e0df4a4fc9ac.tar.gz
Proper deprecation for Session.construct()
Session.construct() wasn't properly deprecated since the deprecation was only mentioned in the docstring. Proper deprecation requires use of warnings/debtcollector and documentation. bp deprecations Change-Id: Ieff238aff9d39cfbbb80381b2392c33d0359acb3
Diffstat (limited to 'keystoneclient/httpclient.py')
-rw-r--r--keystoneclient/httpclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/httpclient.py b/keystoneclient/httpclient.py
index 046d596..3fcbca3 100644
--- a/keystoneclient/httpclient.py
+++ b/keystoneclient/httpclient.py
@@ -346,7 +346,7 @@ class HTTPClient(baseclient.Client, base.BaseAuthPlugin):
if not session:
kwargs['session'] = _FakeRequestSession()
- session = client_session.Session.construct(kwargs)
+ session = client_session.Session._construct(kwargs)
session.auth = self
super(HTTPClient, self).__init__(session=session)