[yum-cvs] rpmUtils/updates.py

Jeremy Katz katzj at linux.duke.edu
Thu Oct 11 15:25:34 UTC 2007


 rpmUtils/updates.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e9b55a994f9989f580ce0aa0d79da0787ff21804
Author: Jeremy Katz <katzj at redhat.com>
Date:   Thu Oct 11 11:23:31 2007 -0400

    use the right variable

diff --git a/rpmUtils/updates.py b/rpmUtils/updates.py
index 116a1d4..7111957 100644
--- a/rpmUtils/updates.py
+++ b/rpmUtils/updates.py
@@ -220,7 +220,7 @@ class Updates:
                                     if self.returnNewest((pkgver, installedver)) == installedver:
                                         willInstall = 0
                                         break
-                            if rpm_a != arch and rpm_a in obs_arches[n]:
+                            if rpm_a != arch and rpm_a in obs_arches[name]:
                                 willInstall = 0
                             if willInstall:
                                 if not obsdict.has_key(pkgtup):



More information about the Yum-cvs-commits mailing list