~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lock.py

  • Committer: Patch Queue Manager
  • Date: 2011-09-08 11:01:15 UTC
  • mfrom: (6123.1.16 gpg-typo)
  • Revision ID: pqm@cupuasso-20110908110115-gbb9benwkdksvzk5
(jelmer) Fix a typo (invalid format identifier) in an error message in
 bzrlib.gpg. (Jelmer Vernooij)

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
 
from bzrlib.i18n import gettext
 
49
 
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(gettext('{0!r} was {1} locked again'), self, type_name)
 
547
            trace.note('%r was %s locked again', self, type_name)
548
548
        self._prev_lock = lock_type
549
549