mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 15:11:19 +02:00
Dropping useless comment. Using getuser which is more correct.
Review URL: http://codereview.chromium.org/3005055
This commit is contained in:
parent
6adaea74ae
commit
2a0d4818f6
@ -14,8 +14,7 @@ import urllib
|
|||||||
|
|
||||||
|
|
||||||
def Authenticate():
|
def Authenticate():
|
||||||
# Authenticate.
|
default_username = getpass.getuser()
|
||||||
default_username = os.environ.get('LOGNAME', '')
|
|
||||||
username = os.environ.get('GSDCURL_USERNAME')
|
username = os.environ.get('GSDCURL_USERNAME')
|
||||||
if username is None:
|
if username is None:
|
||||||
sys.stderr.write('Username [' + default_username + ']: ')
|
sys.stderr.write('Username [' + default_username + ']: ')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user