~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/email_message.py

  • Committer: Vincent Ladeuil
  • Date: 2014-04-09 08:00:39 UTC
  • mto: This revision was merged to the branch mainline in revision 6593.
  • Revision ID: v.ladeuil+lp@free.fr-20140409080039-zq5y8wu59qc8bgnz
Fix minor incompatible change in email python 2.7.6 module.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
 
150
150
    @staticmethod
151
151
    def send(config, from_address, to_address, subject, body, attachment=None,
152
 
            attachment_filename=None, attachment_mime_subtype='plain'):
 
152
             attachment_filename=None, attachment_mime_subtype='plain'):
153
153
        """Create an email message and send it with SMTPConnection.
154
154
 
155
155
        :param config: config object to pass to SMTPConnection constructor.