summaryrefslogtreecommitdiff
path: root/modules/mm_admin.py
diff options
context:
space:
mode:
authorbwarsaw1998-05-26 19:05:06 +0000
committerbwarsaw1998-05-26 19:05:06 +0000
commit413ff2942890eacc38e7201217fe1b4d9e5745fe (patch)
tree064af78342be675725792c8a200647a159b3c227 /modules/mm_admin.py
parent2350174d30124daa7860e43e3b14c1abd7e5bf18 (diff)
downloadmailman-413ff2942890eacc38e7201217fe1b4d9e5745fe.tar.gz
mailman-413ff2942890eacc38e7201217fe1b4d9e5745fe.tar.zst
mailman-413ff2942890eacc38e7201217fe1b4d9e5745fe.zip
Diffstat (limited to 'modules/mm_admin.py')
-rw-r--r--modules/mm_admin.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/modules/mm_admin.py b/modules/mm_admin.py
index 4104f74ef..67fd75826 100644
--- a/modules/mm_admin.py
+++ b/modules/mm_admin.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)