[yum-git] Branch 'yum-3_2_X' - yum/update_md.py
James Antill
james at linux.duke.edu
Mon Aug 4 06:42:00 UTC 2008
yum/update_md.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit aab9ae73a51ca51f9e37b0f01e3be70c0521ee43
Author: James Antill <james at and.org>
Date: Mon Aug 4 02:41:56 2008 -0400
Return the get_applicable_notices() result in the right order (descending)
diff --git a/yum/update_md.py b/yum/update_md.py
index 8b2c2eb..e0851c7 100644
--- a/yum/update_md.py
+++ b/yum/update_md.py
@@ -295,7 +295,7 @@ class UpdateMetadata(object):
if _rpm_tup_vercmp(pkgtup, oldpkgtup) <= 0:
continue
ret.append((pkgtup, notice))
- ret.sort(cmp=_rpm_tup_vercmp, key=lambda x: x[0])
+ ret.sort(cmp=_rpm_tup_vercmp, key=lambda x: x[0], reverse=True)
return ret
def add(self, obj, mdtype='updateinfo'):
More information about the Yum-cvs-commits
mailing list