diff options
| author | bwarsaw | 1999-03-09 02:47:01 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-03-09 02:47:01 +0000 |
| commit | 7fe5978dc2fe90e7f8515c5af15e9a66f1ce9408 (patch) | |
| tree | 500009ec254a598ba30dc9688d5e8819722f985a | |
| parent | 7215485f657ae5e90f89c48562df54d7a1b0783f (diff) | |
| download | mailman-7fe5978dc2fe90e7f8515c5af15e9a66f1ce9408.tar.gz mailman-7fe5978dc2fe90e7f8515c5af15e9a66f1ce9408.tar.zst mailman-7fe5978dc2fe90e7f8515c5af15e9a66f1ce9408.zip | |
| -rw-r--r-- | Mailman/Cgi/handle_opts.py | 6 |
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() |
