~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lock.py

(jr) Add gettext() to uses of note() (Jonathan Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    trace,
47
47
    )
48
48
from bzrlib.hooks import Hooks
49
 
 
 
49
from bzrlib.i18n import gettext
50
50
 
51
51
class LockHooks(Hooks):
52
52
 
544
544
                type_name = 'read'
545
545
            else:
546
546
                type_name = 'write'
547
 
            trace.note('%r was %s locked again', self, type_name)
 
547
            trace.note(gettext('%r was %s locked again'), self, type_name)
548
548
        self._prev_lock = lock_type
549
549