summaryrefslogtreecommitdiff
path: root/src/backend/getBinhost.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/getBinhost.py')
-rw-r--r--src/backend/getBinhost.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/backend/getBinhost.py b/src/backend/getBinhost.py
deleted file mode 100644
index befa1f3..0000000
--- a/src/backend/getBinhost.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/python3
-
-import subprocess
-
-def start():
- isBinhost = []
- portageExec = subprocess.Popen(['emerge', '--info', '--verbose'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
- stdout, stderr = portageExec.communicate()
-
- for portageOutput in stdout.decode('ascii').splitlines():
- if "PORTAGE_BINHOST" in portageOutput:
- isBinhost = portageOutput.rstrip().split("=")[1].strip('\"')
-
- return isBinhost