diff options
| author | bwarsaw | 2002-10-14 22:07:32 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-10-14 22:07:32 +0000 |
| commit | ef341f1ed3c01bdbe35215014016ae7365b986f7 (patch) | |
| tree | 537c1d2dfc08085510d4826f4988e139269a1d6d /Mailman/Handlers/Approve.py | |
| parent | 73a38704c3ecdeccadd956b154f799c9a149e1a4 (diff) | |
| download | mailman-ef341f1ed3c01bdbe35215014016ae7365b986f7.tar.gz mailman-ef341f1ed3c01bdbe35215014016ae7365b986f7.tar.zst mailman-ef341f1ed3c01bdbe35215014016ae7365b986f7.zip | |
process(): Initialize the line local variable to the empty string, in
case the message has an empty body.
Diffstat (limited to '')
| -rw-r--r-- | Mailman/Handlers/Approve.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mailman/Handlers/Approve.py b/Mailman/Handlers/Approve.py index 9876736de..d339a9b10 100644 --- a/Mailman/Handlers/Approve.py +++ b/Mailman/Handlers/Approve.py @@ -54,6 +54,7 @@ def process(mlist, msg, msgdata): break if part is not None: lines = part.get_payload().splitlines() + line = '' for lineno, line in zip(range(len(lines)), lines): if line.strip(): break |
