Skip to content

Commit

Permalink
Fix typing: continue inside try/finally block is unimplemented in `…
Browse files Browse the repository at this point in the history
…mypyc`
  • Loading branch information
hoh committed Apr 9, 2024
1 parent f31819c commit 811d791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/vm/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 811d791

Please sign in to comment.