diff options
| author | hmeland | 1999-07-01 14:54:50 +0000 |
|---|---|---|
| committer | hmeland | 1999-07-01 14:54:50 +0000 |
| commit | 8014acdaa281f05a104ca8ec75748909aa18eb60 (patch) | |
| tree | ea48aef9884cec52c6df222d9f5e218d255f7a73 /Mailman/Archiver/Archiver.py | |
| parent | 42c4de31ebf4e8926e64171948142afb0babb5e6 (diff) | |
| download | mailman-8014acdaa281f05a104ca8ec75748909aa18eb60.tar.gz mailman-8014acdaa281f05a104ca8ec75748909aa18eb60.tar.zst mailman-8014acdaa281f05a104ca8ec75748909aa18eb60.zip | |
Diffstat (limited to 'Mailman/Archiver/Archiver.py')
| -rw-r--r-- | Mailman/Archiver/Archiver.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/Archiver/Archiver.py b/Mailman/Archiver/Archiver.py index 5affb42a7..c890b5dd1 100644 --- a/Mailman/Archiver/Archiver.py +++ b/Mailman/Archiver/Archiver.py @@ -202,7 +202,11 @@ class Archiver: txt = txt + h if msg.body[0] != '\n': txt = txt + "\n" - txt = txt + msg.body + for line in string.split(msg.body, '\n'): + # Quote unprotected From_ lines appearing in body + if line and line[:5] == 'From ': + line = '>' + line + txt = txt + "%s\n" % line f = StringIO(txt) import HyperArch h = HyperArch.HyperArchive(self) |
