mailman/mailman-2.1.10-cmd_subscribe_fixsyntax.patch

14 lines
481 B
Diff

--- Mailman/Commands/cmd_subscribe.py 2008-03-20 03:07:51 +0000
+++ Mailman/Commands/cmd_subscribe.py 2008-04-23 14:32:48 +0000
@@ -71,7 +71,8 @@
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: