From 55888578df91f2c7fc0f7f44dd65deba58a976e8 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Sep 20 2018 22:09:09 +0000 Subject: PR#1096: cli: fix typos in *-notification error msg Merges #1096 https://pagure.io/koji/pull-request/1096 Fixes: #1092 https://pagure.io/koji/issue/1092 Typo in add-notification error msg Fixes: #1093 https://pagure.io/koji/issue/1093 Typo in edit-notification error msg --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index a5c87fa..3714c14 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -7208,7 +7208,7 @@ def handle_add_notification(goptions, session, args): try: tag_id = session.getTagID(options.tag, strict=True) except koji.GenericError: - parser.error("Uknown tag: %s" % options.tag) + parser.error("Unknown tag: %s" % options.tag) else: tag_id = None @@ -7283,7 +7283,7 @@ def handle_edit_notification(goptions, session, args): try: tag_id = session.getTagID(options.tag, strict=True) except koji.GenericError: - parser.error("Uknown tag: %s" % options.tag) + parser.error("Unknown tag: %s" % options.tag) else: tag_id = old['tag_id']