diff options
author | W. Trevor King <wking@drexel.edu> | 2009-09-26 12:45:27 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-09-26 12:45:27 -0400 |
commit | c43a753e999623086888d8e374db72d69168661b (patch) | |
tree | 881570c2ad6c379b1f0420064549ce98c8c4e2f5 /interfaces/email/interactive | |
parent | 9bd1ddd35544a3772e490494459d788ed5da62a3 (diff) | |
download | bugseverywhere-c43a753e999623086888d8e374db72d69168661b.tar.gz |
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).
Diffstat (limited to 'interfaces/email/interactive')
-rwxr-xr-x | interfaces/email/interactive/be-handle-mail | 1 |
1 files changed, 1 insertions, 0 deletions
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): """ |