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
This commit is contained in:
David Lyle 2015-12-15 16:55:01 -07:00
parent 7d910b60c1
commit e7814b2b8e
1 changed files with 7 additions and 0 deletions

View File

@ -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():