From: W. Trevor King Date: Sat, 26 Sep 2009 16:45:27 +0000 (-0400) Subject: Fix agressive be-handle-mail.Message._strip_footer(). X-Git-Tag: 1.0.0~62^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c43a753e999623086888d8e374db72d69168661b;p=be.git 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). --- 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): """