~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/send.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-19 15:59:40 UTC
  • mto: This revision was merged to the branch mainline in revision 6150.
  • Revision ID: jriddell@canonical.com-20110919155940-4q4itcff3jhmhg6u
use .format() instead of % for string formatting where there are multiple formats in one string to allow for translations

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
            raise errors.BzrCommandError(gettext('No submit branch known or'
75
75
                                         ' specified'))
76
76
        if remembered_submit_branch is not None:
77
 
            trace.note(gettext('Using saved %s location "%s" to determine what '
78
 
                       'changes to submit.'), remembered_submit_branch,
79
 
                       submit_branch)
 
77
            trace.note(gettext('Using saved {0} location "{1}" to determine '
 
78
                       'what changes to submit.').format(
 
79
                                    remembered_submit_branch, submit_branch))
80
80
 
81
81
        if mail_to is None or format is None:
82
82
            # TODO: jam 20090716 we open the submit_branch here, but we *don't*