From ce1bf266f345135cc85d048b8c5c4743500a8d22 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Nov 09 2017 19:51:08 +0000 Subject: PR#684: correct format and fix issue #682 Merges #684 https://pagure.io/koji/pull-request/684 Fixes: #682 https://pagure.io/koji/issue/682 Error format in anon_handle_mock_config error message. --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index dab88ee..c93724a 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -973,7 +973,7 @@ def anon_handle_mock_config(goptions, session, args): else: repo = session.getRepo(target['build_tag']) if not repo: - print(_("Could not get a repo for tag: %(name)s") % opts['tag_name']) + print(_("Could not get a repo for tag: %s") % opts['tag_name']) return 1 opts['repoid'] = repo['id'] else: