diff options
| author | bwarsaw | 1998-05-26 19:05:06 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-05-26 19:05:06 +0000 |
| commit | 413ff2942890eacc38e7201217fe1b4d9e5745fe (patch) | |
| tree | 064af78342be675725792c8a200647a159b3c227 /Mailman/ListAdmin.py | |
| parent | 2350174d30124daa7860e43e3b14c1abd7e5bf18 (diff) | |
| download | mailman-413ff2942890eacc38e7201217fe1b4d9e5745fe.tar.gz mailman-413ff2942890eacc38e7201217fe1b4d9e5745fe.tar.zst mailman-413ff2942890eacc38e7201217fe1b4d9e5745fe.zip | |
Removed RCS crud
(SUBSCRIPTION_AUTH_TEXT, POSTING_AUTH_TEXT): Some small, but important
formatting changes. The wrapping/filling algorithm says not to fill
any lines that begin with whitespace, so for the two embedded lists
that shouldn't be filled, start the lines with a couple of spaces.
RefuseRequest(): Call SendTextToUser() with raw=1 so that the text of
the original message will not be wrapped/filled. Some of the text
should probably be wrapped/filled but that's too hard to separate out
right now.
Diffstat (limited to 'Mailman/ListAdmin.py')
| -rw-r--r-- | Mailman/ListAdmin.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py index 4104f74ef..67fd75826 100644 --- a/Mailman/ListAdmin.py +++ b/Mailman/ListAdmin.py @@ -17,7 +17,6 @@ """Mixin class which handles of administrative requests.""" -__version__ = "$Revision: 547 $" # When an operation can't be completed, and is sent to the list admin for # Handling, we consider that an error condition, and raise MMNeedApproval @@ -28,8 +27,8 @@ import os, marshal, time, string SUBSCRIPTION_AUTH_TEXT = """ Your authorization is required for a maillist subscription request approval: -For: %s -List: %s@%s + For: %s + List: %s@%s At your convenience, visit: @@ -40,10 +39,10 @@ to process the request.""" POSTING_AUTH_TEXT = """ Your authorization is required for a maillist posting request approval: -List: %s@%s -Reason held: %s -From: %s -Subject: %s + List: %s@%s + Reason held: %s + From: %s + Subject: %s At your convenience, visit: @@ -228,5 +227,8 @@ Your original message follows: self.SendTextToUser(subject = '%s request rejected' % self.real_name, recipient = destination_email, - text = text) + text = text, + # XXX: some of this text should probably be + # wrapped by calling mm_utils.wrap() separately + raw = 1) |
