~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-27 10:48:00 UTC
  • mfrom: (5923.1.3 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20110527104800-fvcjlygvqloos6kl
(vila) Require prompts to always be unicode (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
            password = urllib.unquote(password)
75
75
        else:
76
76
            password = ui.ui_factory.get_password(
77
 
                prompt='HTTP %(user)s@%(host)s password',
 
77
                prompt=u'HTTP %(user)s@%(host)s password',
78
78
                user=username, host=host)
79
79
        password_manager.add_password(None, host, username, password)
80
80
    url = urlparse.urlunsplit((scheme, netloc, path, query, fragment))