From c43a753e999623086888d8e374db72d69168661b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 26 Sep 2009 12:45:27 -0400 Subject: [PATCH] Fix agressive be-handle-mail.Message._strip_footer(). It had been eating the last line of the message (which wasn't a problem when I had a blank line before the footer, but was when I had neither footer nor trailing blank line). --- interfaces/email/interactive/be-handle-mail | 1 + 1 file changed, 1 insertion(+) diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail index bb2cc28..e8492bb 100755 --- a/interfaces/email/interactive/be-handle-mail +++ b/interfaces/email/interactive/be-handle-mail @@ -483,6 +483,7 @@ class Message (object): for i,line in enumerate(body_lines): if line.startswith(BREAK): break + i += 1 # increment past the current valid line. return u"\n".join(body_lines[:i]).strip() def parse(self): """ -- 2.26.2