~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2007-04-26 08:16:29 UTC
  • mto: (2488.1.1 jam-integration)
  • 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.
Filename Latest Rev Last Changed Committer Comment Size
..