diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-13 13:23:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-13 13:23:26 +0000 |
commit | d557eb56c850b17823edc26636cc4361e6c45ca0 (patch) | |
tree | 8452d7e6b6eae0ca6ba25694546d361575678faf /src/backend/download.py | |
parent | a48d0642cb8e04cfe3f07bc3ede50de3741fa386 (diff) |
don't show file extensions
Diffstat (limited to 'src/backend/download.py')
-rw-r--r-- | src/backend/download.py | 4 |
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("") |