From 699ba58e4460ac60e9255e04dbdbcbf18dad9cc7 Mon Sep 17 00:00:00 2001 From: Franz Chih-Ping Hsieh Date: Nov 08 2017 13:06:13 +0000 Subject: Fixes: #682 https://pagure.io/koji/issue/682 correct wrong mapping in print format --- 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: