nixpkgs/pkgs/development/python-modules/parfive/fix-python-3-14-compat.patch

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