394
394
# Try to attach a MIME attachment using our wrapper function
395
395
if attach_path is not None:
396
396
# Do not create a file if there is no attachment
398
399
mmform = '(bzr-add-mime-att "%s")' % \
399
400
self._encode_path(attach_path, 'attachment')
400
402
commandline.append(lmmform)
401
403
commandline.append(mmform)