diff options
| author | viega | 1998-06-11 11:53:34 +0000 |
|---|---|---|
| committer | viega | 1998-06-11 11:53:34 +0000 |
| commit | 40eea7f5744a54eac3834f98471e53236c005bec (patch) | |
| tree | 22e7fe6dbbdaba6e36e0c77170172df993930424 /modules/maillist.py | |
| parent | dc0f04e95e791f19b52db1a48402b15eed515f51 (diff) | |
| download | mailman-40eea7f5744a54eac3834f98471e53236c005bec.tar.gz mailman-40eea7f5744a54eac3834f98471e53236c005bec.tar.zst mailman-40eea7f5744a54eac3834f98471e53236c005bec.zip | |
Diffstat (limited to 'modules/maillist.py')
| -rw-r--r-- | modules/maillist.py | 8 |
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) |
