From 1965c85d0acc683e1dddb58cec343b2ff62711e4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 16 Nov 2022 13:35:41 +0000 Subject: change pickle database names --- src/backend/download.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/download.py') diff --git a/src/backend/download.py b/src/backend/download.py index e74258f..a66d969 100644 --- a/src/backend/download.py +++ b/src/backend/download.py @@ -9,7 +9,7 @@ import sisyphus.getfs def pkg(pkgname): binhostURL = sisyphus.getenv.binhostURL() - areBinaries,areSources,needsConfig = pickle.load(open(os.path.join(sisyphus.getfs.portageMetadataDir, "sisyphus_solvedeps_pkg.pickle"), "rb")) + areBinaries,areSources,needsConfig = pickle.load(open(os.path.join(sisyphus.getfs.portageMetadataDir, "sisyphus_pkgdeps.pickle"), "rb")) for index, binary in enumerate([package + '.tbz2' for package in areBinaries], start=1): print(">>> Downloading binary ({}".format(index) + " " + "of" + " " + str(len(areBinaries)) + ")" + " " + binary.replace('.tbz2', ' ')) @@ -28,7 +28,7 @@ def pkg(pkgname): def world(): binhostURL = sisyphus.getenv.binhostURL() - areBinaries,areSources,needsConfig = pickle.load(open(os.path.join(sisyphus.getfs.portageMetadataDir, "sisyphus_solvedeps_world.pickle"), "rb")) + areBinaries,areSources,needsConfig = pickle.load(open(os.path.join(sisyphus.getfs.portageMetadataDir, "sisyphus_worlddeps.pickle"), "rb")) for index, binary in enumerate([package + '.tbz2' for package in areBinaries], start=1): print(">>> Downloading binary ({}".format(index) + " " + "of" + " " + str(len(areBinaries)) + ")" + " " + binary.replace('.tbz2', ' ')) -- cgit v1.2.3