From 3498ac40a75b7d3a1ac4f519ca2383399938d1d8 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Apr 24 2018 20:54:08 +0000 Subject: remove unused vars --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 2cb2e28..df63208 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -7164,7 +7164,7 @@ def handle_remove_notification(goptions, session, args): try: n_ids = [int(x) for x in args] - except ValueError as e: + except ValueError: parser.error(_("All notification ids has to be integers")) for n_id in n_ids: @@ -7193,7 +7193,7 @@ def handle_edit_notification(goptions, session, args): try: n_id = int(args[0]) - except ValueError as e: + except ValueError: parser.error(_("Notification ID has to be numeric")) if not options.package and not options.tag and options.success_only is None: