summaryrefslogtreecommitdiff
path: root/src/backend/getenv.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 19:12:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 19:12:27 +0000
commit20926570fb803ac895c0f8c9ebfcdbcbee2aba3f (patch)
tree950e88ee909bfebecd5586ea2df56402dbed4f2b /src/backend/getenv.py
parent1ffd14b3212f1fafd087dadc7a1a8548f53c6cab (diff)
binhostURL -> bhaddr
Diffstat (limited to 'src/backend/getenv.py')
-rw-r--r--src/backend/getenv.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/getenv.py b/src/backend/getenv.py
index e478eb6..1418d88 100644
--- a/src/backend/getenv.py
+++ b/src/backend/getenv.py
@@ -6,21 +6,21 @@ import subprocess
import sisyphus.getfs
-def binhostURL():
- binhostURL = []
+def bhaddr():
+ bhaddr = []
p_exe = subprocess.Popen(
['emerge', '--info', '--verbose'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
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('\"')
+ bhaddr = p_out.rstrip().split("=")[1].strip('\"')
p_exe.wait()
- return binhostURL
+ return bhaddr
def csvURL():
- csvURL = binhostURL()
+ csvURL = bhaddr()
packagesCsvURL = []
descriptionsCsvURL = []