From 4547e7ed0a73aad02e7f29358caff173813d8f7f Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Thu, 31 Jul 2025 10:39:23 -0400 Subject: [PATCH] simplify error handler --- cli/koji_cli/commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index bcacdf0e..7eaf77fb 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -1800,8 +1800,7 @@ def handle_rename_sig(goptions, session, args): session.renameRPMSig(rpminfo, oldkey, newkey) except koji.GenericError as e: # the api error messages are sufficiently descriptive - msg = str(e) - error(msg) + error(str(e)) def handle_remove_sig(goptions, session, args):