~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/medium.py

  • Committer: Jonathan Riddell
  • Date: 2011-09-15 11:31:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6143.
  • Revision ID: jriddell@canonical.com-20110915113147-bgleett47i4jjxya
add gettext() to uses of trace.note()

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
    ui,
43
43
    urlutils,
44
44
    )
 
45
from bzrlib.i18n import gettext
45
46
from bzrlib.smart import client, protocol, request, vfs
46
47
from bzrlib.transport import ssh
47
48
""")
561
562
        value['count'] = 0
562
563
        value['vfs_count'] = 0
563
564
        if count != 0:
564
 
            trace.note('HPSS calls: %d (%d vfs) %s',
565
 
                       count, vfs_count, medium_repr)
 
565
            trace.note(gettext('HPSS calls: {0} ({1} vfs) {2}').format(
 
566
                       count, vfs_count, medium_repr))
566
567
 
567
568
    def flush_all(self):
568
569
        for ref in list(self.counts.keys()):