Blame SOURCES/0005-Fix-minor-problem-with-suggestion-printed-to-terminal.patch

0f2fcc
From 33ebf580e5673875624f20c0940107033a64ac93 Mon Sep 17 00:00:00 2001
0f2fcc
From: Jaroslav Mracek <jmracek@redhat.com>
0f2fcc
Date: Thu, 7 Feb 2019 10:59:54 +0100
0f2fcc
Subject: [PATCH] Fix minor problem with suggestion printed to terminal
0f2fcc
0f2fcc
---
0f2fcc
 dnf/cli/main.py | 6 +++---
0f2fcc
 1 file changed, 3 insertions(+), 3 deletions(-)
0f2fcc
0f2fcc
diff --git a/dnf/cli/main.py b/dnf/cli/main.py
0f2fcc
index bf6d994..c335f29 100644
0f2fcc
--- a/dnf/cli/main.py
0f2fcc
+++ b/dnf/cli/main.py
0f2fcc
@@ -132,16 +132,16 @@ def cli_run(cli, base):
0f2fcc
                     msg += _("try to add '{}' to skip uninstallable packages").format(
0f2fcc
                         "--skip-broken")
0f2fcc
                 else:
0f2fcc
-                    msg += _(" or '%s' to skip uninstallable packages").format("--skip-broken")
0f2fcc
+                    msg += _(" or '{}' to skip uninstallable packages").format("--skip-broken")
0f2fcc
             if cli.base.conf.best:
0f2fcc
                 opt = cli.base.conf._get_option("best")
0f2fcc
                 prio = opt._get_priority()
0f2fcc
                 if prio <= dnf.conf.PRIO_MAINCONFIG:
0f2fcc
                     if not msg:
0f2fcc
-                        msg += _("try to add '%s' to use not only best candidate packages").format(
0f2fcc
+                        msg += _("try to add '{}' to use not only best candidate packages").format(
0f2fcc
                             "--nobest")
0f2fcc
                     else:
0f2fcc
-                        msg += _(" or '%s' to use not only best candidate packages").format(
0f2fcc
+                        msg += _(" or '{}' to use not only best candidate packages").format(
0f2fcc
                             "--nobest")
0f2fcc
             if msg:
0f2fcc
                 logger.info("({})".format(msg))
0f2fcc
--
0f2fcc
libgit2 0.27.7
0f2fcc