Skip to content

Commit b9db3e1

Browse files
committed
Fix linter
1 parent fab463b commit b9db3e1

File tree

1 file changed

+3
-5
lines changed
  • packages/examples/cvat/recording-oracle

1 file changed

+3
-5
lines changed

packages/examples/cvat/recording-oracle/debug.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,10 @@ def patched_get_escrow(chain_id: int, escrow_address: str) -> EscrowData:
4242
]
4343
if not candidate_files:
4444
return original_get_escrow(ChainId(chain_id), escrow_address)
45-
elif len(candidate_files) != 1:
45+
if len(candidate_files) != 1:
4646
raise Exception(
47-
"Can't select local manifest to be used for escrow '{}'"
48-
" - several manifests match: {}".format(
49-
escrow_address, format_sequence(candidate_files)
50-
)
47+
f"Can't select local manifest to be used for escrow '{escrow_address}'"
48+
f" - several manifests match: {format_sequence(candidate_files)}"
5149
)
5250

5351
manifest_file = candidate_files[0]

0 commit comments

Comments
 (0)