mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 09:44:11 +01:00
14 lines
564 B
Diff
14 lines
564 B
Diff
diff --git a/parfive/downloader.py b/parfive/downloader.py
|
|
index 7a4116b..370ea78 100644
|
|
--- a/parfive/downloader.py
|
|
+++ b/parfive/downloader.py
|
|
@@ -317,8 +317,7 @@ class Downloader:
|
|
task.cancel()
|
|
dl_results = await asyncio.gather(*tasks, return_exceptions=True)
|
|
|
|
- finally:
|
|
- return self._format_results(dl_results, main_pb)
|
|
+ return self._format_results(dl_results, main_pb)
|
|
|
|
def _format_results(self, retvals, main_pb):
|
|
# Squash all nested lists into a single flat list
|