From 35fa6d25927fd941bb270fa42cde0e570606ad21 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 26 Apr 2008 17:59:18 -0700 Subject: Fixed cmd_subscribe.py. The last change broke it for bare subscribe commands with no options. --- Mailman/Commands/cmd_subscribe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mailman/Commands/cmd_subscribe.py b/Mailman/Commands/cmd_subscribe.py index 1c594033..5f01522f 100644 --- a/Mailman/Commands/cmd_subscribe.py +++ b/Mailman/Commands/cmd_subscribe.py @@ -71,7 +71,8 @@ def process(res, args): return STOP argnum += 1 # Fix the password/digest issue - if digest is None and password.lower() in ('digest', 'nodigest'): + if (digest is None + and password and password.lower() in ('digest', 'nodigest')): if password.lower() == 'digest': digest = 1 else: -- cgit v1.2.3