[yum-commits] cli.py

zpavlas at osuosl.org zpavlas at osuosl.org
Mon May 20 08:58:53 UTC 2013


 cli.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3170c8a7a3b72b2e18e665db908f1cf8d2841569
Author: Jan Zeleny <jzeleny at redhat.com>
Date:   Fri May 17 09:47:24 2013 +0200

    Fix reversed logic from c473512b

diff --git a/cli.py b/cli.py
index 173568f..8c61ffd 100755
--- a/cli.py
+++ b/cli.py
@@ -633,7 +633,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
         self.verbose_logger.log(yum.logginglevels.INFO_2, 
              _('Running transaction check'))
         msgs = self._run_rpm_check()
-        depsolve = True
+        depsolve = False
         if msgs:
             rpmlib_only = True
             for msg in msgs:
@@ -644,7 +644,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
                 print _("ERROR You need to update rpm to handle:")
             else:
                 print _('ERROR with transaction check vs depsolve:')
-                depsolve = False
+                depsolve = True
 
             for msg in msgs:
                 print to_utf8(msg)


More information about the Yum-commits mailing list