~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/server.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:
28
28
    trace,
29
29
    transport as _mod_transport,
30
30
)
 
31
from bzrlib.i18n import gettext
31
32
from bzrlib.lazy_import import lazy_import
32
33
lazy_import(globals(), """
33
34
from bzrlib.smart import medium
351
352
                port = medium.BZR_DEFAULT_PORT
352
353
            smart_server = SmartTCPServer(self.transport)
353
354
            smart_server.start_server(host, port)
354
 
            trace.note('listening on port: %s' % smart_server.port)
 
355
            trace.note(gettext('listening on port: %s') % smart_server.port)
355
356
        self.smart_server = smart_server
356
357
 
357
358
    def _change_globals(self):