summaryrefslogtreecommitdiff
path: root/mailman/pipeline/docs
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/pipeline/docs')
-rw-r--r--mailman/pipeline/docs/scrubber.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/mailman/pipeline/docs/scrubber.txt b/mailman/pipeline/docs/scrubber.txt
index 9c9367cda..eddd1939d 100644
--- a/mailman/pipeline/docs/scrubber.txt
+++ b/mailman/pipeline/docs/scrubber.txt
@@ -50,7 +50,8 @@ filename suggested in the message's Content-Disposition: header or not. If
enabled, the filename will be used when this header attribute is present (yes,
this is an unfortunate double negative).
- >>> config.SCRUBBER_DONT_USE_ATTACHMENT_FILENAME = False
+ >>> from mailman import Defaults
+ >>> Defaults.SCRUBBER_DONT_USE_ATTACHMENT_FILENAME = False
>>> msg = message_from_string("""\
... Content-Type: image/gif; name="xtest.gif"
... Content-Transfer-Encoding: base64
@@ -79,7 +80,7 @@ The site administrator can also configure Mailman to ignore the
Content-Disposition: filename. This is the default for reasons described in
the Defaults.py.in file.
- >>> config.SCRUBBER_DONT_USE_ATTACHMENT_FILENAME = True
+ >>> Defaults.SCRUBBER_DONT_USE_ATTACHMENT_FILENAME = True
>>> msg = message_from_string("""\
... Content-Type: image/gif; name="xtest.gif"
... Content-Transfer-Encoding: base64