Removed an impossible code path in cache function

This commit is contained in:
Claude Paroz 2012-11-10 15:42:27 +01:00
parent 34162698cc
commit 04a7ea3283
1 changed files with 0 additions and 2 deletions

View File

@ -93,8 +93,6 @@ def parse_backend_conf(backend, **kwargs):
raise InvalidCacheBackendError("Could not find backend '%s'" % backend)
location = kwargs.pop('LOCATION', '')
return backend, location, kwargs
raise InvalidCacheBackendError(
"Couldn't find a cache backend named '%s'" % backend)
def get_cache(backend, **kwargs):
"""