~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.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:
155
155
        return
156
156
    if short:
157
157
        # using base-2 units (see HACKING.txt).
158
 
        trace.note(gettext('WorkingSize %7dKiB'
159
 
                   '\tPeakWorking %7dKiB\t%s'),
 
158
        trace.note(gettext('WorkingSize {0:>7}KiB'
 
159
                   '\tPeakWorking {1:>7}KiB\t{2}').format(
160
160
                   info['WorkingSetSize'] / 1024,
161
161
                   info['PeakWorkingSetSize'] / 1024,
162
 
                   message)
 
162
                   message))
163
163
        return
164
164
    if message:
165
165
        trace.note('%s', message)