mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-23 11:31:31 +01:00
Rather than using split, we can just use os.path.basename(path) to get the username from the homedir name. This is a bit simpler. I've also added a comment which I missed in my last commit. TEST=Ran ./parallel_emerge, verified the new method of getting PORTAGE_USERNAME gets the right username. BUG=none Review URL: http://codereview.chromium.org/3056002
Description
Languages
Shell
93%
Python
6.9%