[MERGE] NotATerminal considered harmful

Jelmer Vernooij jelmer at samba.org
Fri Apr 3 03:58:21 BST 2009


Jelmer Vernooij has voted resubmit.
Status is now: Resubmit
Comment:
discussed on IRC; we should not be unconditionally calling 
getpass.getpass() as it will raise an exception if there's no active 
terminal. instead, we could perhaps just read from sys.stdin if there's 
no terminal rather than calling getpass (since there's no need to turn 
of echoeing, either).

For details, see: 
http://bundlebuggy.aaronbentley.com/project/bzr/request/%3Cm2tz57uyey.fsf%40free.fr%3E
Project: Bazaar



More information about the bazaar mailing list