summaryrefslogtreecommitdiff
path: root/src/backend/csvfiles.py
diff options
context:
space:
mode:
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