commit | 19b441118169f99b0e6f02afb4ee1621336492ed | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Tue Apr 22 08:08:41 2008 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Tue Apr 22 08:08:41 2008 +0000 |
tree | cca5f13b7ebd520d2eaa7f3b720a4a49fc9a2ad1 | |
parent | 8e0319d82a812599b5e42c4aec1a2b7a34da82f3 [diff] |
Major improvements: * Default to using /dev/tty for the password prompt and input before falling back to sys.stdin and sys.stderr. * Use sys.stderr instead of sys.stdout. * print the 'password may be echoed' warning to stream used to display the prompt rather than always sys.stderr. * warn() with GetPassWarning when input may be echoed.