~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/clean_tree.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:
123
123
                    if e.errno != errno.EACCES:
124
124
                        raise e
125
125
                    ui.ui_factory.show_warning(gettext(
126
 
                        'unable to remove "%s": %s.') % (path, e.strerror))
 
126
                        'unable to remove "{0}": {1}.').format(
 
127
                                                    path, e.strerror))
127
128
        else:
128
129
            note('  ' + subp)
129
130
    if not has_deleted: