~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jonathan Riddell
  • Date: 2011-09-20 10:49:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6153.
  • Revision ID: jriddell@canonical.com-20110920104947-nry3on7eei0yy26t
more gettext()ing

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