summaryrefslogtreecommitdiff
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Utils.py')
-rw-r--r--Mailman/Utils.py18
1 files changed, 1 insertions, 17 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index 033e68dc8..2b9ef7d2c 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -5,7 +5,7 @@ message and address munging, a handy-dandy routine to map a function on all
the maillists, the Logging routines, and whatever else doesn't belong
elsewhere."""
-__version__ = "$Revision: 478 $"
+__version__ = "$Revision: 508 $"
import sys, string, fcntl, os, random, regsub, re
@@ -388,19 +388,3 @@ class StampedLogger(Logger):
Logger.write(self, ' ' + l)
else:
Logger.write(self, l)
-
-def change_boundary(text, boundary, reboundary):
- """Substitute good boundary for simplistic one in mime messages."""
- got = []
- open_b = "--" + boundary
- close_b = "--" + boundary + "--"
- open_reb = "--" + reboundary
- close_reb = "--" + reboundary + "--"
- for i in string.split(text, '\n'):
- if i == open_b:
- got.append(open_reb)
- elif i == close_b:
- got.append(close_reb)
- else:
- got.append(i)
- return string.join(got, '\n')