From 3c6909740c2b00c31a9b39b5ef8e0ce7f588f685 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 21 Aug 2008 17:24:01 +0800 Subject: Add project argument to set_patches MultiplePatchForm needs a project, so pass one down. Signed-off-by: Jeremy Kerr --- apps/patchwork/views/patch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/patchwork/views/patch.py') 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 -- cgit v1.2.3