summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2002-01-23 06:11:48 +0000
committerbwarsaw2002-01-23 06:11:48 +0000
commit26451da7e1769f4869a58aa783722ba49d98855b (patch)
tree399eb5be6f3a84286dff71ffb3831af1fa492735
parent7c5b9d4061c5a65b3650348a616abf66c66aa6e0 (diff)
downloadmailman-26451da7e1769f4869a58aa783722ba49d98855b.tar.gz
mailman-26451da7e1769f4869a58aa783722ba49d98855b.tar.zst
mailman-26451da7e1769f4869a58aa783722ba49d98855b.zip
-rw-r--r--Mailman/Handlers/Tagger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/Tagger.py b/Mailman/Handlers/Tagger.py
index 005f3760b..f88a857a2 100644
--- a/Mailman/Handlers/Tagger.py
+++ b/Mailman/Handlers/Tagger.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2001 by the Free Software Foundation, Inc.
+# Copyright (C) 2001,2002 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -81,7 +81,7 @@ def scanbody(msg, numlines=None):
# the first numlines of body text.
lines = []
lineno = 0
- reader = email.Iterators.body_line_iterator(msg)
+ reader = list(email.Iterators.body_line_iterator(msg))
while numlines is None or lineno < numlines:
try:
line = reader.pop(0)