diff options
Diffstat (limited to 'src/backend/getenv.py')
-rw-r--r-- | src/backend/getenv.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/backend/getenv.py b/src/backend/getenv.py index 1418d88..fdb47d4 100644 --- a/src/backend/getenv.py +++ b/src/backend/getenv.py @@ -19,23 +19,23 @@ def bhaddr(): return bhaddr -def csvURL(): - csvURL = bhaddr() - packagesCsvURL = [] - descriptionsCsvURL = [] +def csvaddr(): + csvaddr = bhaddr() + pcsvaddr = [] + dcsvaddr = [] - if "packages-next" in csvURL: - packagesCsvURL = csvURL.replace( + if "packages-next" in csvaddr: + pcsvaddr = csvaddr.replace( 'packages-next', 'csv-next') + 'remotePackagesPre.csv' - descriptionsCsvURL = csvURL.replace( + dcsvaddr = csvaddr.replace( 'packages-next', 'csv-next') + 'remoteDescriptionsPre.csv' else: - packagesCsvURL = csvURL.replace( + pcsvaddr = csvaddr.replace( 'packages', 'csv') + 'remotePackagesPre.csv' - descriptionsCsvURL = csvURL.replace( + dcsvaddr = csvaddr.replace( 'packages', 'csv') + 'remoteDescriptionsPre.csv' - return packagesCsvURL, descriptionsCsvURL + return pcsvaddr, dcsvaddr def systemBranch(): |