DescriptionMake the homedir check a bit simpler.
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
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|