diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-11-10 15:42:27 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-11-10 15:42:27 +0100 |
| commit | 04a7ea3283318dbec84529b055548042a43e4f4d (patch) | |
| tree | 2eb3bc96ff50772b79a732e87c89ee662ee05323 /django/core/cache/__init__.py | |
| parent | 34162698cc7a3c75b1d1b2e18b481aa7e865dc98 (diff) | |
Removed an impossible code path in cache function
Diffstat (limited to 'django/core/cache/__init__.py')
| -rw-r--r-- | django/core/cache/__init__.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/core/cache/__init__.py b/django/core/cache/__init__.py index f496c35e2b..d1a02a9f13 100644 --- a/django/core/cache/__init__.py +++ b/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): """ |
