summaryrefslogtreecommitdiff
path: root/patchwork/urls.py
diff options
context:
space:
mode:
authorStephen Finucane <stephen.finucane@intel.com>2015-11-29 21:08:44 +0000
committerStephen Finucane <stephen.finucane@intel.com>2015-12-03 22:09:21 +0000
commitf09f8c195520d1e5b665abb6f7c6b4478e4d15f5 (patch)
tree3fecd61020f9fdc4b1247f9bfead20d8958cd33f /patchwork/urls.py
parent488cb3d641618920bab24ba054c222da5cfa9c7e (diff)
downloadpatchwork-f09f8c195520d1e5b665abb6f7c6b4478e4d15f5.tar
patchwork-f09f8c195520d1e5b665abb6f7c6b4478e4d15f5.tar.gz
pep8: Manually resolve remaining issues
The 'autopep8' tool can't do everything, and it is necessary to resolve some final issues. Most of these issues fall under the following categories: E501 line too long E241 multiple spaces after ',' F401 'module' imported but unused F841 local variable 'name' is assigned to but never used It is also necessary to insert '# noqa' comments to hide some F403 errors ('unable to detect undefined names') where 'import *' is useful. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Diffstat (limited to 'patchwork/urls.py')
-rw-r--r--patchwork/urls.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/patchwork/urls.py b/patchwork/urls.py
index b0cc299..81a571a 100644
--- a/patchwork/urls.py
+++ b/patchwork/urls.py
@@ -43,8 +43,7 @@ urlpatterns = patterns(
(r'^user/todo/$', 'patchwork.views.user.todo_lists'),
(r'^user/todo/(?P<project_id>[^/]+)/$', 'patchwork.views.user.todo_list'),
- (r'^user/bundles/$',
- 'patchwork.views.bundle.bundles'),
+ (r'^user/bundles/$', 'patchwork.views.bundle.bundles'),
(r'^user/link/$', 'patchwork.views.user.link'),
(r'^user/unlink/(?P<person_id>[^/]+)/$', 'patchwork.views.user.unlink'),
@@ -111,7 +110,7 @@ if settings.COMPAT_REDIR:
urlpatterns += patterns(
'',
(r'^user/bundle/(?P<bundle_id>[^/]+)/$',
- 'patchwork.views.bundle.bundle_redir'),
+ 'patchwork.views.bundle.bundle_redir'),
(r'^user/bundle/(?P<bundle_id>[^/]+)/mbox/$',
- 'patchwork.views.bundle.mbox_redir'),
+ 'patchwork.views.bundle.mbox_redir'),
)