From 48a4219a32a5493068009b3dd595f65487e9dc42 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Fri, 8 Jun 2007 20:04:52 +0000 Subject: [PATCH] Use the main form's domain_name, not the initial domain_name, to pick the approver, since the main form's version has been changed to ietf.org if appropriate. Don't try to look up the main_form -- since we're currently processing the main_form, it's just 'form'! - Legacy-Id: 271 --- ietf/mailinglists/views.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ietf/mailinglists/views.py b/ietf/mailinglists/views.py index f74e34be5..a39973fb7 100644 --- a/ietf/mailinglists/views.py +++ b/ietf/mailinglists/views.py @@ -242,9 +242,8 @@ class ListReqWizard(wizard.Wizard): else: self.initial[self.main_step].update({'domain_name': form.clean_data['domain_name']}) if step == self.main_step: - approvers = mlist_approvers(form0.clean_data['mail_type'], form0.clean_data['domain_name'], form0.clean_data['group']) - main_form = self.clean_forms[self.main_step] - requestor_email = main_form.clean_data['requestor_email'] + approvers = mlist_approvers(form0.clean_data['mail_type'], form.clean_data['domain_name'], form0.clean_data['group']) + requestor_email = form.clean_data['requestor_email'] requestor_person = None for a in approvers: if requestor_email == a.person.email()[1]: