From 2d9cc036a6c95bdf2156a55c2405206493015e5f Mon Sep 17 00:00:00 2001 From: Bill Fenner <fenner@fenron.net> Date: Fri, 8 Jun 2007 15:48:09 +0000 Subject: [PATCH] If we're passed in None, don't try to get the domain name out of it. - Legacy-Id: 260 --- ietf/mailinglists/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/mailinglists/forms.py b/ietf/mailinglists/forms.py index 15acb2662..46ecf7cdf 100644 --- a/ietf/mailinglists/forms.py +++ b/ietf/mailinglists/forms.py @@ -52,7 +52,7 @@ class ListReqStep1(forms.Form): return field.as_widget(field.field.widget) def __init__(self, *args, **kwargs): dname = 'ietf.org' - if args: + if args and args[0]: dn = 'domain_name' if kwargs.has_key('prefix'): dn = kwargs['prefix'] + '-' + dn