summaryrefslogtreecommitdiff
path: root/keystoneclient/client.py
diff options
context:
space:
mode:
authorJamie Lennox <jlennox@redhat.com>2013-08-21 10:08:34 +1000
committerJamie Lennox <jlennox@redhat.com>2013-08-21 11:33:14 +1000
commit70c79a59792dd4147e451096105cf461a576464f (patch)
tree0cc00e2973cba31ef27ac4134900dfe60507c2bf /keystoneclient/client.py
parentd8673ff449a1c659fbf66031cf26793bf4ede972 (diff)
downloadpython-keystoneclient-70c79a59792dd4147e451096105cf461a576464f.tar.gz
Restore client.py for backward compatibility
Simply pull in HTTPClient from its new location. This also restores the tests that were modified back to there original form to make sure nothing has changed from the original. Fixes: bug 1211998 Change-Id: Ia3241a4352eb6b37c6489cd4dd1bc373de107e12
Diffstat (limited to 'keystoneclient/client.py')
-rw-r--r--keystoneclient/client.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/keystoneclient/client.py b/keystoneclient/client.py
new file mode 100644
index 0000000..bfd69ab
--- /dev/null
+++ b/keystoneclient/client.py
@@ -0,0 +1,18 @@
+# vim: tabstop=4 shiftwidth=4 softtabstop=4
+
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+from keystoneclient import httpclient
+
+# Using client.HTTPClient is deprecated. Use httpclient.HTTPClient instead.
+HTTPClient = httpclient.HTTPClient