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()
503
508
lmmform = '(load "%s")' % elisp
504
509
mmform = '(bzr-add-mime-att "%s")' % \
505
510
self._encode_path(attach_path, 'attachment')