diff options
Diffstat (limited to 'Mailman/rules/docs/emergency.txt')
| -rw-r--r-- | Mailman/rules/docs/emergency.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/rules/docs/emergency.txt b/Mailman/rules/docs/emergency.txt index 1375c3bc9..aecbcb90d 100644 --- a/Mailman/rules/docs/emergency.txt +++ b/Mailman/rules/docs/emergency.txt @@ -21,7 +21,7 @@ rule matches if the flag is set on the mailing list. >>> from Mailman.app.chains import process >>> mlist.emergency = True - >>> process('built-in', mlist, msg, {}) + >>> process(mlist, msg, {}, 'built-in') There are two messages in the virgin queue. The one addressed to the original sender will contain a token we can use to grab the held message out of the @@ -69,6 +69,6 @@ However, if the message metadata has a 'moderator_approved' key set, then even if the mailing list has its emergency flag set, the message still goes through to the membership. - >>> process('built-in', mlist, msg, dict(moderator_approved=True)) + >>> process(mlist, msg, dict(moderator_approved=True), 'built-in') >>> len(virginq.files) 0 |
