/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/plugins/launchpad/account.py

  • Committer: Andrew Bennetts
  • Date: 2009-03-26 06:59:15 UTC
  • mto: This revision was merged to the branch mainline in revision 4207.
  • Revision ID: andrew.bennetts@canonical.com-20090326065915-n5vmwse4axfc5qhn
Fix BzrDir.open in non-main (and non-server-request) thread when bzrlib.smart.request's _pre_open_hook is installed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
def _get_auth_user(auth=None):
81
81
    if auth is None:
82
82
        auth = AuthenticationConfig()
83
 
    username = auth.get_user('ssh', '.launchpad.net')
84
 
    return username
 
83
    return auth.get_user('ssh', '.launchpad.net')
85
84
 
86
85
def _set_auth_user(username, auth=None):
87
86
    if auth is None: