blob: 0d2e895324ebbcb95fb7862ec9a4c79a08e4090e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/python3
import sisyphus.binhost
def getURL():
remotePackagesCsvURL = []
remoteDescriptionsCsvURL = []
binhostURL = sisyphus.binhost.getURL()
if "packages-next" in binhostURL:
remotePackagesCsvURL = binhostURL.replace('packages-next', 'csv-next') + 'remotePackagesPre.csv'
remoteDescriptionsCsvURL = binhostURL.replace('packages-next', 'csv-next') + 'remoteDescriptionsPre.csv'
else:
remotePackagesCsvURL = binhostURL.replace('packages', 'csv') + 'remotePackagesPre.csv'
remoteDescriptionsCsvURL = binhostURL.replace('packages', 'csv') + 'remoteDescriptionsPre.csv'
return remotePackagesCsvURL,remoteDescriptionsCsvURL
|