~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/send.py

  • Committer: Martin Packman
  • Date: 2012-02-01 13:24:42 UTC
  • mto: (6437.23.4 2.5)
  • mto: This revision was merged to the branch mainline in revision 6462.
  • Revision ID: martin.packman@canonical.com-20120201132442-ela7jc4mxv4b058o
Treat path for .bzr.log as unicode

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    branch.lock_write()
50
50
    try:
51
51
        if output is None:
52
 
            config_stack = branch.get_config_stack()
53
52
            if mail_to is None:
54
 
                mail_to = config_stack.get('submit_to')
55
 
            mail_client = config_stack.get('mail_client')(config_stack)
 
53
                mail_to = branch.get_config_stack().get('submit_to')
 
54
            mail_client = branch.get_config().get_mail_client()
56
55
            if (not getattr(mail_client, 'supports_body', False)
57
56
                and body is not None):
58
57
                raise errors.BzrCommandError(gettext(