From 519268820b6a3f9cec5e545cb33dd5d3a95fee27 Mon Sep 17 00:00:00 2001 From: Thomas Rast Date: Tue, 10 Feb 2009 11:50:10 +0100 Subject: [PATCH] Fix "what's cooking" processing --- mail.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail.py b/mail.py index 5dd18fb..6c785c4 100644 --- a/mail.py +++ b/mail.py @@ -177,7 +177,8 @@ def parse_whats_cooking(msg, mail): if category: notes.append("[%s]" % category) return notes - for line in _get_text_payload(msg).splitlines(): + text = ''.join(_get_text_payloads(msg)) + for line in text.splitlines(): if _whats_cooking_separator.match(line): category = None notes = _rotate_notes(category, branch, notes) -- 2.11.4.GIT