Print the "Username:" prompt on stderr.

Review Request #3687 — Created Dec. 19, 2012 and submitted

Information

RBTools
master

Reviewers

Print the "Username:" prompt on stderr.

The python builtin function raw_input prints its prompt to stdout, whereas
getpass.getpass() prints it to stderr. This change fixes the username prompt to
print manually so that even if stdout is redirected, the user will still see
both prompts.
Removed my cookies file and posted this review with stdout redirected to a file.
Saw both username and password prompts.
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (494a21d).
Loading...