summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/views/__init__.py
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-08-21 17:24:01 +0800
committerJeremy Kerr <jk@ozlabs.org>2008-08-21 17:24:01 +0800
commit3c6909740c2b00c31a9b39b5ef8e0ce7f588f685 (patch)
treedcdc11d13cf3dd3c96c3861e8aa99f7d9388f34c /apps/patchwork/views/__init__.py
parent8e8be3bcc0db37a92e12fe3ee2a3351c7a6bbcd9 (diff)
downloadpatchwork-3c6909740c2b00c31a9b39b5ef8e0ce7f588f685.tar.bz2
patchwork-3c6909740c2b00c31a9b39b5ef8e0ce7f588f685.tar.xz
Add project argument to set_patches
MultiplePatchForm needs a project, so pass one down. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/views/__init__.py')
-rw-r--r--apps/patchwork/views/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/patchwork/views/__init__.py b/apps/patchwork/views/__init__.py
index 2636d29..b5c19c2 100644
--- a/apps/patchwork/views/__init__.py
+++ b/apps/patchwork/views/__init__.py
@@ -54,8 +54,8 @@ def generic_list(request, project, view,
pass
ps.append(patch)
- (errors, form) = set_patches(request.user, action, request.POST, \
- ps, context)
+ (errors, form) = set_patches(request.user, project, action, \
+ request.POST, ps, context)
if errors:
context['errors'] = errors