From 9bf38c85e4850e8e35d0d3eb6e2e7a2490c7c177 Mon Sep 17 00:00:00 2001 From: David Lyle Date: Tue, 15 Dec 2015 16:55:01 -0700 Subject: 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) --- openstack_auth/utils.py | 7 +++++++ 1 file changed, 7 insertions(+) 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(): -- cgit v1.2.1