projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bd1ddd
)
Fix agressive be-handle-mail.Message._strip_footer().
author
W. Trevor King
<wking@drexel.edu>
Sat, 26 Sep 2009 16:45:27 +0000
(12:45 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Sat, 26 Sep 2009 16:45:27 +0000
(12:45 -0400)
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
patch
|
blob
|
history
diff --git
a/interfaces/email/interactive/be-handle-mail
b/interfaces/email/interactive/be-handle-mail
index bb2cc2876934f253326ac2047975f15498be89d2..e8492bb2d80833433ec71bbce7ed0d1d7dc814da 100755
(executable)
--- 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):
"""