~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2461.1.1.

  • Committer: Vincent Ladeuil
  • Date: 2007-04-26 08:16:29 UTC
  • mto: (2488.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2489.
  • Revision ID: v.ladeuil+lp@free.fr-20070426081629-g0rsiqfszpxz2tto
Fix 110204 by letting TestUIFactory encode password prompt.

* bzrlib/ui/__init__.py:
(CLIUIFactory.get_non_echoed_password): Encode prompt with
sys.stdout.
(CLIUIFactory.get_password): Delegate prompt encoding to
get_non_echoed_password.

* bzrlib/tests/__init__.py:
(TestUIFactory.get_non_echoed_password): Encode prompt with
self.stdout.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: