[yum-commits] Branch 'yum-3_2_X' - cli.py

James Antill james at osuosl.org
Tue Nov 25 22:54:26 UTC 2008


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

New commits:
commit 5ff862c4d788cae7605cbcfef570d757df1c3744
Author: James Antill <james at and.org>
Date:   Tue Nov 25 17:47:36 2008 -0500

    When showing dups, also show "reinstall dups"

diff --git a/cli.py b/cli.py
index c0fc920..69dea6c 100644
--- a/cli.py
+++ b/cli.py
@@ -694,6 +694,8 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
             
         ypl = self.doPackageLists(pkgnarrow=pkgnarrow, patterns=extcmds,
                                   ignore_case=True)
+        if self.conf.showdupesfromrepos:
+            ypl.available += ypl.reinstall_available
 
         # This is mostly leftover from when patterns didn't exist
         # FIXME: However when returnPackages() has already been run, we


More information about the Yum-commits mailing list