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 e7814b2b8e)
This commit is contained in:
David Lyle 2015-12-15 16:55:01 -07:00 committed by Itxaka
parent 31ab61d3b5
commit 3295b154f3
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():