com.googler.python 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -56,8 +56,7 @@ def __get_username():
|
|
|
56
56
|
""" Returns the effective username of the current process. """
|
|
57
57
|
if sys.platform == 'win32':
|
|
58
58
|
return getpass.getuser()
|
|
59
|
-
|
|
60
|
-
return pwd.getpwuid(os.geteuid()).pw_name
|
|
59
|
+
return os.getenv("USER")
|
|
61
60
|
|
|
62
61
|
def _get_build_prefix():
|
|
63
62
|
""" Returns a safe build_prefix """
|