Permalink
Browse files

Removed an impossible code path in cache function

  • Loading branch information...
1 parent 3416269 commit 04a7ea3283318dbec84529b055548042a43e4f4d @claudep claudep committed Nov 10, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 django/core/cache/__init__.py
@@ -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):
"""

0 comments on commit 04a7ea3

Please sign in to comment.