summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lyle <dklyle0@gmail.com>2015-12-15 16:55:01 -0700
committerItxaka <iserrano@redhat.com>2016-01-04 11:33:28 +0100
commit9bf38c85e4850e8e35d0d3eb6e2e7a2490c7c177 (patch)
treeda931b1647b6913e37e24f5ab1e98c75640a3b63
parentbf88c1789619fb90cca880c60c48e3fe10811555 (diff)
downloaddjango_openstack_auth-stable/kilo.tar.gz
Fixing backward compatibilitykilo-eol1.2.2stable/kilo
The remove_project_cache method was removed because the underlying functionality never really worked. Unfortunately, that method was called directly from Horizon in the Liberty release. An empty signature is being added back to fix backward compatibility. Change-Id: I9ee475d94dee38e8a76b4aee371b962640f76f31 Closes-Bug: #1526572 (cherry picked from commit e7814b2b8eb7e835a076d2b59ec106ce3bf3bd71)
-rw-r--r--openstack_auth/utils.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/openstack_auth/utils.py b/openstack_auth/utils.py
index b9e726a..ede8abb 100644
--- a/openstack_auth/utils.py
+++ b/openstack_auth/utils.py
@@ -118,6 +118,13 @@ def is_safe_url(url, host=None):
return not netloc or netloc == host
+# DEPRECATED -- Mitaka
+# This method definition is included to prevent breaking backward compatibility
+# The original functionality was problematic and has been removed.
+def remove_project_cache(token):
+ pass
+
+
# Helper for figuring out keystone version
# Implementation will change when API version discovery is available
def get_keystone_version():