~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/account.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:
26
26
    transport,
27
27
    )
28
28
from bzrlib.config import AuthenticationConfig, GlobalConfig
29
 
 
 
29
from bzrlib.i18n import gettext
30
30
 
31
31
LAUNCHPAD_BASE = 'https://launchpad.net/'
32
32
 
61
61
        auth_username = _get_auth_user(auth)
62
62
        # Auto-upgrading
63
63
        if auth_username is None:
64
 
            trace.note('Setting ssh/sftp usernames for launchpad.net.')
 
64
            trace.note(gettext('Setting ssh/sftp usernames for launchpad.net.'))
65
65
            _set_auth_user(username, auth)
66
66
        elif auth_username != username:
67
67
            raise MismatchedUsernames()