---
 yum/history.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yum/history.py b/yum/history.py
index bd10e51..8983261 100644
--- a/yum/history.py
+++ b/yum/history.py
@@ -131,7 +131,7 @@ class YumHistoryRpmdbProblem(PackageObject):
         ret = cmp(self.problem, other.problem)
         if ret: return -ret
         ret = cmp(self.rpid, other.rpid)
-        return -ret
+        return ret
 
     def _getProbPkgs(self):
         if self._loaded_P is None:
-- 
1.7.0.1

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to