Provide more testing feedback (was: Re: Refining the update queues/process)

Tony Nelson tonynelson at georgeanelson.com
Sat Mar 6 04:42:28 UTC 2010


On 10-03-05 17:00:12, Till Maas wrote:
 ...
> But it seems that os.getlogin() is too smart for this purposes, e.g.
> for me it always uses the username that started X, even if I "su -" 
> or "sudo -i" into another account.

The Python docs[1] suggest using the environment variable LOGNAME.

[1] <http://docs.python.org/library/os.html#os.getlogin>

-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>


More information about the devel mailing list