summaryrefslogtreecommitdiff
path: root/src/backend/getenv.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 19:08:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 19:08:31 +0000
commit1ffd14b3212f1fafd087dadc7a1a8548f53c6cab (patch)
tree6a0971fe0b94d46396a6466855925e37afc859d5 /src/backend/getenv.py
parent36e2fca70465e2e658570bcdf276d5ca644125bb (diff)
portageOutput -> p_out
Diffstat (limited to 'src/backend/getenv.py')
-rw-r--r--src/backend/getenv.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/getenv.py b/src/backend/getenv.py
index 9944d77..e478eb6 100644
--- a/src/backend/getenv.py
+++ b/src/backend/getenv.py
@@ -11,9 +11,9 @@ def binhostURL():
p_exe = subprocess.Popen(
['emerge', '--info', '--verbose'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- for portageOutput in io.TextIOWrapper(p_exe.stdout, encoding="utf-8"):
- if "PORTAGE_BINHOST" in portageOutput:
- binhostURL = portageOutput.rstrip().split("=")[1].strip('\"')
+ for p_out in io.TextIOWrapper(p_exe.stdout, encoding="utf-8"):
+ if "PORTAGE_BINHOST" in p_out:
+ binhostURL = p_out.rstrip().split("=")[1].strip('\"')
p_exe.wait()
return binhostURL