aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2008-04-26 17:59:18 -0700
committerMark Sapiro <mark@msapiro.net>2008-04-26 17:59:18 -0700
commit35fa6d25927fd941bb270fa42cde0e570606ad21 (patch)
tree99e27201dd91e54c04e7fdb12482a82993cbfc11
parent2a8b33178fe455cfb3cc5d821aa51cd41dfaa166 (diff)
downloadmailman2-35fa6d25927fd941bb270fa42cde0e570606ad21.tar.gz
mailman2-35fa6d25927fd941bb270fa42cde0e570606ad21.tar.xz
mailman2-35fa6d25927fd941bb270fa42cde0e570606ad21.zip
Fixed cmd_subscribe.py. The last change broke it for bare subscribe commands
with no options.
-rw-r--r--Mailman/Commands/cmd_subscribe.py3
1 files changed, 2 insertions, 1 deletions
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: