summaryrefslogtreecommitdiff
path: root/src/backend/download.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-13 13:23:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-13 13:23:26 +0000
commitd557eb56c850b17823edc26636cc4361e6c45ca0 (patch)
tree8452d7e6b6eae0ca6ba25694546d361575678faf /src/backend/download.py
parenta48d0642cb8e04cfe3f07bc3ede50de3741fa386 (diff)
don't show file extensions
Diffstat (limited to 'src/backend/download.py')
-rw-r--r--src/backend/download.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/download.py b/src/backend/download.py
index f58943c..e74258f 100644
--- a/src/backend/download.py
+++ b/src/backend/download.py
@@ -12,7 +12,7 @@ def pkg(pkgname):
areBinaries,areSources,needsConfig = pickle.load(open(os.path.join(sisyphus.getfs.portageMetadataDir, "sisyphus_solvedeps_pkg.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)
+ print(">>> Downloading binary ({}".format(index) + " " + "of" + " " + str(len(areBinaries)) + ")" + " " + binary.replace('.tbz2', ' '))
wget.download(binhostURL + binary)
print("")
@@ -31,7 +31,7 @@ def world():
areBinaries,areSources,needsConfig = pickle.load(open(os.path.join(sisyphus.getfs.portageMetadataDir, "sisyphus_solvedeps_world.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)
+ print(">>> Downloading binary ({}".format(index) + " " + "of" + " " + str(len(areBinaries)) + ")" + " " + binary.replace('.tbz2', ' '))
wget.download(binhostURL + binary)
print("")