[yum-cvs] yum/packages.py

James Antill james at linux.duke.edu
Tue Dec 11 17:20:39 UTC 2007


 yum/packages.py |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 9643e87d1a5fdcfcdc1fa2f29fa298c28927d7d6
Author: James Antill <james at and.org>
Date:   Tue Dec 11 12:20:35 2007 -0500

    Add .lower ops for the rest of the pkgtup, Doh!

diff --git a/yum/packages.py b/yum/packages.py
index 0a135f9..f682140 100644
--- a/yum/packages.py
+++ b/yum/packages.py
@@ -60,6 +60,10 @@ def buildPkgRefDict(pkgs, casematch=True):
         (n, a, e, v, r) = pkg.pkgtup
         if not casematch:
             n = n.lower()
+            a = a.lower()
+            e = e.lower()
+            v = v.lower()
+            r = r.lower()
         name = n
         nameArch = '%s.%s' % (n, a)
         nameVerRelArch = '%s-%s-%s.%s' % (n, v, r, a)



More information about the Yum-cvs-commits mailing list