mirror of
https://github.com/django/django.git
synced 2025-01-27 10:39:40 +00:00
Removed an impossible code path in cache function
This commit is contained in:
parent
34162698cc
commit
04a7ea3283
2
django/core/cache/__init__.py
vendored
2
django/core/cache/__init__.py
vendored
@ -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):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user