We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab463b commit b9db3e1Copy full SHA for b9db3e1
packages/examples/cvat/recording-oracle/debug.py
@@ -42,12 +42,10 @@ def patched_get_escrow(chain_id: int, escrow_address: str) -> EscrowData:
42
]
43
if not candidate_files:
44
return original_get_escrow(ChainId(chain_id), escrow_address)
45
- elif len(candidate_files) != 1:
+ if len(candidate_files) != 1:
46
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
- )
+ f"Can't select local manifest to be used for escrow '{escrow_address}'"
+ f" - several manifests match: {format_sequence(candidate_files)}"
51
)
52
53
manifest_file = candidate_files[0]
0 commit comments