From d8118b90872fbaad4d568e21fcee8645496b096f Mon Sep 17 00:00:00 2001 From: Chong Shen Ng Date: Tue, 3 Dec 2024 10:59:39 +0000 Subject: [PATCH] Remove unused variable --- src/py/flwr/cli/run/run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/py/flwr/cli/run/run.py b/src/py/flwr/cli/run/run.py index c83709c7809..cabd5707d5c 100644 --- a/src/py/flwr/cli/run/run.py +++ b/src/py/flwr/cli/run/run.py @@ -101,8 +101,8 @@ def run( _run_with_exec_api(app, federation_config, config_overrides, stream) else: _run_without_exec_api(app, federation_config, config_overrides, federation) - # pylint: disable=broad-except - except (typer.Exit, SystemExit, Exception) as e: # pylint: disable=unused-variable + # pylint: disable=broad-except, unused-variable + except (typer.Exit, SystemExit, Exception): _print_json_error()