summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/views/patch.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/patch.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/patch.py')
-rw-r--r--apps/patchwork/views/patch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/patchwork/views/patch.py b/apps/patchwork/views/patch.py
index d509e28..f20f25d 100644
--- a/apps/patchwork/views/patch.py
+++ b/apps/patchwork/views/patch.py
@@ -156,7 +156,8 @@ def list(request, project_id):
pass
ps.append(patch)
- (errors, form) = set_patches(request.user, action, request.POST, ps)
+ (errors, form) = set_patches(request.user, project, action, \
+ request.POST, ps)
if errors:
context['errors'] = errors