diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-09-06 21:56:40 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-09-06 21:56:40 -0700 |
| commit | 2530735d2d57316d1df8177745e93a78de663ff7 (patch) | |
| tree | 5cb8209d733574783dcbb2b48fede0e97ce724a0 /django/core/cache/__init__.py | |
| parent | a9589dd280ba84db3131f32b423ef45c67a5a236 (diff) | |
Fixed a number of flake8 errors -- particularly around unused imports and local variables
Diffstat (limited to 'django/core/cache/__init__.py')
| -rw-r--r-- | django/core/cache/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/cache/__init__.py b/django/core/cache/__init__.py index 2721a791fa..4cafeccd2a 100644 --- a/django/core/cache/__init__.py +++ b/django/core/cache/__init__.py @@ -85,7 +85,7 @@ def parse_backend_conf(backend, **kwargs): else: try: # Trying to import the given backend, in case it's a dotted path - backend_cls = import_by_path(backend) + import_by_path(backend) except ImproperlyConfigured as e: raise InvalidCacheBackendError("Could not find backend '%s': %s" % ( backend, e)) |
