[yum-cvs] debuginfo-install.py

Seth Vidal skvidal at linux.duke.edu
Sun Sep 2 13:56:16 UTC 2007


 debuginfo-install.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2c1898a04e990aa63c658eae793d604075d7dfed
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Sun Sep 2 09:54:46 2007 -0400

    make debuginfo-install use function for matching correctly

diff --git a/debuginfo-install.py b/debuginfo-install.py
index a0d3e69..446c757 100644
--- a/debuginfo-install.py
+++ b/debuginfo-install.py
@@ -83,7 +83,8 @@ class DebugInfoInstall(YumUtilBase):
         # look through that pkgs' deps
         # add all the debuginfos for the pkgs providing those deps
         for pkgglob in self.cmds:
-            for po in self.rpmdb.matchPackageNames(pkgglob, casematch=True):
+            e, m, u = self.rpmdb.matchPackageNames([pkgglob])
+            for po in e + m:
                 try:
                     self.di_try_install(po)
                 except yum.Errors.InstallError, e:



More information about the Yum-cvs-commits mailing list