diff options
| author | mailman | 1998-04-09 23:45:33 +0000 |
|---|---|---|
| committer | mailman | 1998-04-09 23:45:33 +0000 |
| commit | 2a1fb2d10b44d4999d0d88d5807385e3da8d185b (patch) | |
| tree | 65bbb0956f707b710ba684bb4a7218e92a710eea /Mailman/Errors.py | |
| parent | e705f87649fca4f014a11d3fd1be73d429e8370f (diff) | |
| download | mailman-2a1fb2d10b44d4999d0d88d5807385e3da8d185b.tar.gz mailman-2a1fb2d10b44d4999d0d88d5807385e3da8d185b.tar.zst mailman-2a1fb2d10b44d4999d0d88d5807385e3da8d185b.zip | |
Diffstat (limited to 'Mailman/Errors.py')
| -rw-r--r-- | Mailman/Errors.py | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/Mailman/Errors.py b/Mailman/Errors.py index 51850e9aa..1b294a21a 100644 --- a/Mailman/Errors.py +++ b/Mailman/Errors.py @@ -1,7 +1,7 @@ -MODERATED_LIST_MSG = "Moderated list" -IMPLICIT_DEST_MSG = "Implicit destination" -SUSPICIOUS_HEADER_MSG = "Suspicious header" -FORBIDDEN_SENDER_MSG = "Forbidden sender" +"""Shared mailman errors and messages.""" + +__version__ = "$Revision: 397 $" + MMUnknownListError = "MMUnknownListError" MMBadListError = "MMBadListError" @@ -24,3 +24,28 @@ MMAlreadyUndigested = "MMAlreadyUndigested" MMBadRequestId = "MMBadRequestId" MMWebSubscribeRequiresConfirmation = "MMWebSubscribeRequiresConfirmation" +MODERATED_LIST_MSG = "Moderated list" +IMPLICIT_DEST_MSG = "Implicit destination" +SUSPICIOUS_HEADER_MSG = "Suspicious header" +FORBIDDEN_SENDER_MSG = "Forbidden sender" + +MESSAGE_DECORATION_NOTE = """This text can include <b>%(field)s</b> format +strings which are resolved against the list's attribute dictionary (__dict__). +Some useful fields are: + +<dl> + <dt>real_name + <dd>The "pretty" name of the list, with capitalization. + <dt>_internal_name + <dd>The name by which the list is identified in URLs, where case + is germane. + <dt>host_name + <dd>The domain-qualified host name where the list server runs. + <dt>web_page_url + <dd>The mailman root URL to which, eg, 'listinfo/%(_internal_name)s + can be appended to yield the listinfo page for the list. + <dt>description + <dd>The brief description of the list. + <dt>info + <dd>The less brief list description. +""" |
