diff options
| author | Aymeric Augustin | 2014-04-12 14:15:10 +0200 | 
|---|---|---|
| committer | Aymeric Augustin | 2014-04-12 14:15:10 +0200 | 
| commit | 28978aa72b36e629d7641e61730e1030bdcdeead (patch) | |
| tree | 166ef8cfc023283bb3dc49b29b199d792c451288 /debug_toolbar | |
| parent | 8af410e6d65f54acf98cb926d2b341ceb4f165a2 (diff) | |
| download | django-debug-toolbar-28978aa72b36e629d7641e61730e1030bdcdeead.tar.bz2 | |
New version of flake8 adds new checks.1.1
Diffstat (limited to 'debug_toolbar')
| -rw-r--r-- | debug_toolbar/settings.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/debug_toolbar/settings.py b/debug_toolbar/settings.py index 5c1cd3d..5c2919c 100644 --- a/debug_toolbar/settings.py +++ b/debug_toolbar/settings.py @@ -142,8 +142,8 @@ if 'INTERCEPT_REDIRECTS' in USER_CONFIG:              except KeyError:                  # We wanted to remove it, but it didn't exist. This is fine                  pass -    elif not 'debug_toolbar.panels.redirects.RedirectsPanel' \ -            in CONFIG['DISABLE_PANELS']: +    elif 'debug_toolbar.panels.redirects.RedirectsPanel' \ +            not in CONFIG['DISABLE_PANELS']:          # RedirectsPanel should be disabled          CONFIG['DISABLE_PANELS'].add(              'debug_toolbar.panels.redirects.RedirectsPanel' | 
