/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: Canonical.com Patch Queue Manager
  • Date: 2009-04-16 17:07:46 UTC
  • mfrom: (4282.2.4 fix_mapi_send)
  • Revision ID: pqm@pqm.ubuntu.com-20090416170746-92fj72e2i2qpkojj
(Neil Martinsen-Burrell) Fix 'bzr send' using MAPI.

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')
 
83
    username = auth.get_user('ssh', '.launchpad.net', default="")
 
84
    if username == "":
 
85
        username = None
84
86
    return username
85
87
 
86
88
def _set_auth_user(username, auth=None):