summaryrefslogtreecommitdiff
path: root/src/backend/syncdb.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-09 19:28:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-09 19:28:11 +0000
commit180c2e119142573d42fe0e67a42b3530a7aed70b (patch)
tree1a7b0e105227cb9a701189fb91b85e2bba580d66 /src/backend/syncdb.py
parent8577a33ed2f85d13b3e1dd66970ca1302b268719 (diff)
fixups
Diffstat (limited to 'src/backend/syncdb.py')
-rw-r--r--src/backend/syncdb.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/syncdb.py b/src/backend/syncdb.py
index 8ada61e..71c2aa2 100644
--- a/src/backend/syncdb.py
+++ b/src/backend/syncdb.py
@@ -10,13 +10,13 @@ import sisyphus.getfs
def remoteCSV():
- pcsvaddr, dcsvaddr = sisyphus.getenv.csvaddr()
+ pcsv_addr, dcsv_addr = sisyphus.getenv.csv_addr()
http = urllib3.PoolManager()
- with http.request('GET', pcsvaddr, preload_content=False) as tmp_buffer, open(sisyphus.getfs.remotePackagesCsv, 'wb') as output_file:
+ with http.request('GET', pcsv_addr, preload_content=False) as tmp_buffer, open(sisyphus.getfs.remotePackagesCsv, 'wb') as output_file:
shutil.copyfileobj(tmp_buffer, output_file)
- with http.request('GET', dcsvaddr, preload_content=False) as tmp_buffer, open(sisyphus.getfs.remoteDescriptionsCsv, 'wb') as output_file:
+ with http.request('GET', dcsv_addr, preload_content=False) as tmp_buffer, open(sisyphus.getfs.remoteDescriptionsCsv, 'wb') as output_file:
shutil.copyfileobj(tmp_buffer, output_file)