~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/clean_tree.py

(jr) use .format() instead of % for string formatting where there are
 multiple formats in one string to allow for translations (Jonathan Riddell)

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: