Dropping useless comment. Using getuser which is more correct.

Review URL: http://codereview.chromium.org/3005055
This commit is contained in:
bradnelson 2010-08-04 13:15:23 -07:00
parent 6adaea74ae
commit 2a0d4818f6

View File

@ -14,8 +14,7 @@ import urllib
def Authenticate():
# Authenticate.
default_username = os.environ.get('LOGNAME', '')
default_username = getpass.getuser()
username = os.environ.get('GSDCURL_USERNAME')
if username is None:
sys.stderr.write('Username [' + default_username + ']: ')