Koert van der Veer e86098cfc2 Fix os.getlogin() problem with no tty
Catch OSError(s) from  os.getlogin() and fall back to looking at
environment variables to figure out the user's name. The OSError
is thrown where there is no tty for the python process when
os.getlogin() is called.

Related-Bug: #1221491

Change-Id: I2bd735c9669ba9d25da108da44ea602f358b2dcc
2014-01-16 13:57:30 +01:00
..
2013-12-30 18:53:02 -06:00
2013-12-30 18:53:02 -06:00
2013-12-20 15:01:23 +01:00
2013-12-30 18:53:02 -06:00
2013-12-30 18:53:02 -06:00
2013-12-30 18:53:02 -06:00
2013-12-30 18:53:02 -06:00
2013-12-30 18:53:02 -06:00