summaryrefslogtreecommitdiff
path: root/Mailman/queue
diff options
context:
space:
mode:
authorBarry Warsaw2008-01-24 02:40:41 -0500
committerBarry Warsaw2008-01-24 02:40:41 -0500
commita76cbbcac84319245a0afb4a4dee32d4d4c79622 (patch)
tree79be6b5955dffd2a78baa01fa53f516e35f47d2e /Mailman/queue
parentf03c31acb800d79c606ee3e206868aef8a08bfda (diff)
downloadmailman-a76cbbcac84319245a0afb4a4dee32d4d4c79622.tar.gz
mailman-a76cbbcac84319245a0afb4a4dee32d4d4c79622.tar.zst
mailman-a76cbbcac84319245a0afb4a4dee32d4d4c79622.zip
Python 2.5's email package uses cStringIO in its feed parser, and this doesn't
support unicode. Although this never bit me on OS X (Leopard) it matters greatly on Linux (Ubuntu) where you get lots of test failures because of it. So instead, just use 8-bit string in message_from_string(). Everything works fine still.
Diffstat (limited to 'Mailman/queue')
-rw-r--r--Mailman/queue/docs/runner.txt2
-rw-r--r--Mailman/queue/docs/switchboard.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/queue/docs/runner.txt b/Mailman/queue/docs/runner.txt
index 5e5a88d8c..4f6e0dbc1 100644
--- a/Mailman/queue/docs/runner.txt
+++ b/Mailman/queue/docs/runner.txt
@@ -46,7 +46,7 @@ This is about as simple as a qrunner can be.
This qrunner doesn't do much except run once, storing the message and metadata
on instance variables.
- >>> msg = message_from_string(u"""\
+ >>> msg = message_from_string("""\
... From: aperson@example.com
... To: _xtest@example.com
...
diff --git a/Mailman/queue/docs/switchboard.txt b/Mailman/queue/docs/switchboard.txt
index 299aba499..56dbc8a05 100644
--- a/Mailman/queue/docs/switchboard.txt
+++ b/Mailman/queue/docs/switchboard.txt
@@ -4,7 +4,7 @@ The switchboard
The switchboard is subsystem that moves messages between queues. Each
instance of a switchboard is responsible for one queue directory.
- >>> msg = message_from_string(u"""\
+ >>> msg = message_from_string("""\
... From: aperson@example.com
... To: _xtest@example.com
...