blob: 1f8ded433ed94e6a90e001702c8de923bfdba235 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
"""Shared mailman errors and messages."""
__version__ = "$Revision: 477 $"
MMUnknownListError = "MMUnknownListError"
MMBadListError = "MMBadListError"
MMBadUserError = "MMBadUserError"
MMBadConfigError = "MMBadConfigError"
MMBadEmailError = "MMBadEmailError"
MMMustDigestError = "MMMustDigestError"
MMCantDigestError = "MMCantDigestError"
MMNotAMemberError = "MMNotAMemberError"
MMListNotReady = "MMListNotReady"
MMNoSuchUserError = "MMNoSuchUserError"
MMBadPasswordError = "MMBadPasswordError"
MMNeedApproval = "MMNeedApproval"
MMHostileAddress = "MMHostileAddress"
MMAlreadyAMember = "MMAlreadyAMember"
MMPasswordsMustMatch = "MMPasswordsMustMatch"
MMAlreadyDigested = "MMAlreadyDigested"
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"
LOOPING_POST = "Post already went through this list!"
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.
</dl>
"""
|