summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw1999-03-09 02:47:01 +0000
committerbwarsaw1999-03-09 02:47:01 +0000
commit7fe5978dc2fe90e7f8515c5af15e9a66f1ce9408 (patch)
tree500009ec254a598ba30dc9688d5e8819722f985a
parent7215485f657ae5e90f89c48562df54d7a1b0783f (diff)
downloadmailman-7fe5978dc2fe90e7f8515c5af15e9a66f1ce9408.tar.gz
mailman-7fe5978dc2fe90e7f8515c5af15e9a66f1ce9408.tar.zst
mailman-7fe5978dc2fe90e7f8515c5af15e9a66f1ce9408.zip
-rw-r--r--Mailman/Cgi/handle_opts.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mailman/Cgi/handle_opts.py b/Mailman/Cgi/handle_opts.py
index da133ca22..cdc564ce3 100644
--- a/Mailman/Cgi/handle_opts.py
+++ b/Mailman/Cgi/handle_opts.py
@@ -255,6 +255,10 @@ exactly what happened to provoke this error.<p>'''
msg = 'You have successfully set your options.'
try:
list.SetUserDigest(user, digest_value)
+ # digest mode changed from on to off, so send the current digest
+ # to the user.
+ if digest_value == 0:
+ PrintResults('You may get one last digest.')
except (Errors.MMAlreadyDigested, Errors.MMAlreadyUndigested):
pass
except Errors.MMCantDigestError:
@@ -263,6 +267,4 @@ exactly what happened to provoke this error.<p>'''
'successfully set.'
list.SetUserOption(user, mm_cfg.ConcealSubscription, conceal)
PrintResults(msg)
-
-
list.Unlock()