diff options
Diffstat (limited to 'src/backend/getenv.py')
-rw-r--r-- | src/backend/getenv.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/getenv.py b/src/backend/getenv.py index 56ee9ec..9944d77 100644 --- a/src/backend/getenv.py +++ b/src/backend/getenv.py @@ -8,13 +8,13 @@ import sisyphus.getfs def binhostURL(): binhostURL = [] - portageExec = subprocess.Popen( + p_exe = subprocess.Popen( ['emerge', '--info', '--verbose'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): + for portageOutput in io.TextIOWrapper(p_exe.stdout, encoding="utf-8"): if "PORTAGE_BINHOST" in portageOutput: binhostURL = portageOutput.rstrip().split("=")[1].strip('\"') - portageExec.wait() + p_exe.wait() return binhostURL |