~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lock.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:
544
544
                type_name = 'read'
545
545
            else:
546
546
                type_name = 'write'
547
 
            trace.note(gettext('%r was %s locked again'), self, type_name)
 
547
            trace.note(gettext('{0!r} was {1} locked again'), self, type_name)
548
548
        self._prev_lock = lock_type
549
549