summaryrefslogtreecommitdiff
path: root/src/backend/csvfiles.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-02 22:44:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-02 22:44:34 +0000
commitc72f5dac54d4b8382a4d3891af07509ebe629f63 (patch)
tree58259dee11751843171e4f4e5fe809f6a90e585e /src/backend/csvfiles.py
parente8e43274a6dda2257f3a43dc2a20572f7779cce5 (diff)
minor changes
Diffstat (limited to 'src/backend/csvfiles.py')
-rw-r--r--src/backend/csvfiles.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/backend/csvfiles.py b/src/backend/csvfiles.py
index 0d2e895..503ee84 100644
--- a/src/backend/csvfiles.py
+++ b/src/backend/csvfiles.py
@@ -2,16 +2,16 @@
import sisyphus.binhost
-def getURL():
- remotePackagesCsvURL = []
- remoteDescriptionsCsvURL = []
- binhostURL = sisyphus.binhost.getURL()
+def start():
+ isPackageCsv = []
+ isDescriptionCsv = []
+ isBinhost = sisyphus.binhost.start()
- if "packages-next" in binhostURL:
- remotePackagesCsvURL = binhostURL.replace('packages-next', 'csv-next') + 'remotePackagesPre.csv'
- remoteDescriptionsCsvURL = binhostURL.replace('packages-next', 'csv-next') + 'remoteDescriptionsPre.csv'
+ if "packages-next" in isBinhost:
+ isPackageCsv = isBinhost.replace('packages-next', 'csv-next') + 'remotePackagesPre.csv'
+ isDescriptionCsv = isBinhost.replace('packages-next', 'csv-next') + 'remoteDescriptionsPre.csv'
else:
- remotePackagesCsvURL = binhostURL.replace('packages', 'csv') + 'remotePackagesPre.csv'
- remoteDescriptionsCsvURL = binhostURL.replace('packages', 'csv') + 'remoteDescriptionsPre.csv'
+ isPackageCsv = isBinhost.replace('packages', 'csv') + 'remotePackagesPre.csv'
+ isDescriptionCsv = isBinhost.replace('packages', 'csv') + 'remoteDescriptionsPre.csv'
- return remotePackagesCsvURL,remoteDescriptionsCsvURL
+ return isPackageCsv,isDescriptionCsv