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:39:20 +0100
commit3295b154f3ca294252e10608a18fe5679ca81491 (patch)
tree48b2891524b8216c70b7afe9cc4fbeb51205d06c
parent31ab61d3b5a0ae7bd281e975f955136b9adebdb6 (diff)
downloaddjango_openstack_auth-3295b154f3ca294252e10608a18fe5679ca81491.tar.gz
Fixing backward compatibility
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 9ffb44e..fefd85d 100644
--- a/openstack_auth/utils.py
+++ b/openstack_auth/utils.py
@@ -112,6 +112,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():