Merge lp:~vorlon/bzr-email/extra-headers into lp:bzr-email
Proposed by
Steve Langasek
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~vorlon/bzr-email/extra-headers |
Merge into: | lp:bzr-email |
Diff against target: |
139 lines (+40/-7) 4 files modified
__init__.py (+3/-0) emailer.py (+15/-1) smtp_connection.py (+16/-5) tests/testemail.py (+6/-1) |
To merge this branch: | bzr merge lp:~vorlon/bzr-email/extra-headers |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins | Pending | ||
Review via email: mp+21071@code.launchpad.net |
This proposal supersedes a proposal from 2010-03-09.
Description of the change
Add support for including custom headers in generated mails, necessary for interfacing with the Debian PTS
To post a comment you must log in.
review: needsfixing
One crucial thing, three smaller.
Crucially: please call the option mail_headers
revision_
and document it in the docstring in __init__.py - thats where the help
for 'bzr help email' is sourced. I think there are some docs in README
too, that are duplicated but should be kept in sync.
Smaller things: extra_mail_ headers/ throughout
Characters are nearly free: s/xhdrs/
please: the 8 bit days are long gone ;)
A test case for this would be great.
In the sending function you do headers( )
xhdrs = self.extra_
....
(
, xhdrs)
and don't use the variable at all. Please just call it when you call the
lower level function.
-Rob