From 811d7913e03a39c56c62f8862bbc0ee57172a245 Mon Sep 17 00:00:00 2001 From: Hugo Herter Date: Thu, 14 Mar 2024 09:48:07 +0100 Subject: [PATCH] Fix typing: `continue` inside try/finally block is unimplemented in `mypyc` --- src/aleph/vm/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aleph/vm/storage.py b/src/aleph/vm/storage.py index cf72440a2..eb652b02b 100644 --- a/src/aleph/vm/storage.py +++ b/src/aleph/vm/storage.py @@ -121,7 +121,7 @@ async def download_file(url: str, local_path: Path) -> None: ) as error: if attempt < (download_attempts - 1): logger.warning(f"Download failed, retrying attempt {attempt + 1}/{download_attempts}...") - continue + # continue # continue inside try/finally block is unimplemented in `mypyc` else: raise error finally: