summaryrefslogtreecommitdiff
path: root/src/backend/getenv.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/getenv.py')
-rw-r--r--src/backend/getenv.py17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/backend/getenv.py b/src/backend/getenv.py
index c98d3c8..eebbfee 100644
--- a/src/backend/getenv.py
+++ b/src/backend/getenv.py
@@ -6,7 +6,8 @@ import subprocess
def binhostURL():
binhostURL = []
- portageExec = subprocess.Popen(['emerge', '--info', '--verbose'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ portageExec = subprocess.Popen(
+ ['emerge', '--info', '--verbose'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
if "PORTAGE_BINHOST" in portageOutput:
@@ -22,10 +23,14 @@ def csvURL():
descriptionsCsvURL = []
if "packages-next" in csvURL:
- packagesCsvURL = csvURL.replace('packages-next', 'csv-next') + 'remotePackagesPre.csv'
- descriptionsCsvURL = csvURL.replace('packages-next', 'csv-next') + 'remoteDescriptionsPre.csv'
+ packagesCsvURL = csvURL.replace(
+ 'packages-next', 'csv-next') + 'remotePackagesPre.csv'
+ descriptionsCsvURL = csvURL.replace(
+ 'packages-next', 'csv-next') + 'remoteDescriptionsPre.csv'
else:
- packagesCsvURL = csvURL.replace('packages', 'csv') + 'remotePackagesPre.csv'
- descriptionsCsvURL = csvURL.replace('packages', 'csv') + 'remoteDescriptionsPre.csv'
+ packagesCsvURL = csvURL.replace(
+ 'packages', 'csv') + 'remotePackagesPre.csv'
+ descriptionsCsvURL = csvURL.replace(
+ 'packages', 'csv') + 'remoteDescriptionsPre.csv'
- return packagesCsvURL,descriptionsCsvURL
+ return packagesCsvURL, descriptionsCsvURL