Merge lp:~abentley/bzr/bzr.ab into lp:~bzr/bzr/trunk-old

Proposed by Aaron Bentley
Status: Merged
Approved by: John A Meinel
Approved revision: no longer in the source branch.
Merged at revision: not available
Proposed branch: lp:~abentley/bzr/bzr.ab
Merge into: lp:~bzr/bzr/trunk-old
Diff against target: 12 lines
To merge this branch: bzr merge lp:~abentley/bzr/bzr.ab
Reviewer Review Type Date Requested Status
John A Meinel Approve
Review via email: mp+7044@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Aaron Bentley (abentley) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

DefaultMail supports message bodies already, but it does not have the
flag indicating that support. This patch simply adds the flag.

Of course, DefaultMail doesn't handle any mail at all, deferring to one
of XDGEmail, MAPIClient or Editor. All three support message bodies, so
DefaultMail can be said to support message bodies.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkom3O0ACgkQ0F+nu1YWqI3LygCdF7XQ2wW1iShhoHSaUeIDG1y8
DzoAnjVD2be7xyceF1E9xB8cxX+wxe81
=TAd4
-----END PGP SIGNATURE-----

Revision history for this message
John A Meinel (jameinel) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bzrlib/mail_client.py'
2--- bzrlib/mail_client.py 2009-05-11 18:35:20 +0000
3+++ bzrlib/mail_client.py 2009-06-04 14:35:27 +0000
4@@ -506,6 +506,8 @@
5 """Default mail handling. Tries XDGEmail (or MAPIClient on Windows),
6 falls back to Editor"""
7
8+ supports_body = True
9+
10 def _mail_client(self):
11 """Determine the preferred mail client for this platform"""
12 if osutils.supports_mapi():