Skip to content

Commit 446aed1

Browse files
committed
; * bdx/cli.py (IndexingOptionParamType.convert): Fix style.
1 parent ca9cc5e commit 446aed1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bdx/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ def convert(self, value, param, ctx):
256256
try:
257257
return (k, self.CONVERTERS[k].convert(v, param, ctx))
258258
except click.BadParameter as e:
259-
raise click.BadParameter(f"{k}: {e}") from e
259+
msg = f"{k}: {e}"
260+
raise click.BadParameter(msg) from e
260261

261262
def shell_complete(
262263
self, ctx: click.Context, param: click.Parameter, incomplete: str

0 commit comments

Comments
 (0)