/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/mail_client.py

  • Committer: Aaron Bentley
  • Date: 2009-09-29 04:40:55 UTC
  • mfrom: (4717 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4718.
  • Revision ID: aaron@aaronbentley.com-20090929044055-e9jtpmz6eyut711h
Merged bzr.dev into fix_get_mtime.

Show diffs side-by-side

added added

removed removed

Lines of Context:
424
424
 
425
425
    _client_commands = ['emacsclient']
426
426
 
 
427
    def __init__(self, config):
 
428
        super(EmacsMail, self).__init__(config)
 
429
        self.elisp_tmp_file = None
 
430
 
427
431
    def _prepare_send_function(self):
428
432
        """Write our wrapper function into a temporary file.
429
433
 
500
504
        if attach_path is not None:
501
505
            # Do not create a file if there is no attachment
502
506
            elisp = self._prepare_send_function()
 
507
            self.elisp_tmp_file = elisp
503
508
            lmmform = '(load "%s")' % elisp
504
509
            mmform  = '(bzr-add-mime-att "%s")' % \
505
510
                self._encode_path(attach_path, 'attachment')