summaryrefslogtreecommitdiff
path: root/modules/maillist.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/maillist.py')
-rw-r--r--modules/maillist.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/maillist.py b/modules/maillist.py
index 6621fc1e1..13ef9c720 100644
--- a/modules/maillist.py
+++ b/modules/maillist.py
@@ -718,13 +718,13 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
continue
else:
try:
- h, e = re.split(":[ ]*", line)
- all.append((h, e, line))
+ h, e = re.split(":[ ]*", stripped)
+ all.append((h, e, stripped))
except ValueError:
# Whoops - some bad data got by:
self.LogMsg("config", "%s - "
"bad bounce_matching_header line %s"
- % (self.real_name, `line`))
+ % (self.real_name, `stripped`))
return all
@@ -748,7 +748,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
and f[l] == ":"
and string.lower(field) == string.lower(f[0:l])):
# Non-continuation line - trim header name:
- subjs.append(f[l+1:])
+ subjs.append(f[l+2:])
elif not subjs:
# Whoops - non-continuation that matches?
subjs.append(f)