diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-09 19:05:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-09 19:05:15 +0000 |
commit | 36e2fca70465e2e658570bcdf276d5ca644125bb (patch) | |
tree | d787c3cde5ce14e3cd272e187e3f131765289395 /src/backend/getenv.py | |
parent | 0b4cdf8f6b57160fd77c3a45165fdb7fa371e31c (diff) |
portageExec -> p_exe
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 |