~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/ftp/_gssapi.py

  • Committer: Patch Queue Manager
  • Date: 2011-09-20 14:38:17 UTC
  • mfrom: (6150.3.12 i18n-more-gettext)
  • Revision ID: pqm@pqm.ubuntu.com-20110920143817-505fvpundix8tqv8
(jr) adding gettext() to more strings
 (Jonathan Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from bzrlib import (
25
25
    errors,
26
26
    )
 
27
from bzrlib.i18n import gettext
27
28
from bzrlib.trace import mutter
28
29
from bzrlib.transport.ftp import FtpTransport
29
30
 
79
80
                        if not ((resp.startswith('235 ') and rc == 1) or
80
81
                                (resp.startswith('335 ') and rc == 0)):
81
82
                            raise ftplib.error_reply, resp
82
 
            trace.note("Authenticated as %s" % kerberos.authGSSClientUserName(
83
 
                    self.vc))
 
83
            trace.note(gettext("Authenticated as %s") %
 
84
                            kerberos.authGSSClientUserName(self.vc))
84
85
 
85
86
            # Monkey patch ftplib
86
87
            self.putcmd = self.mic_putcmd