[yum-commits] repoquery.py

James Antill james at osuosl.org
Wed May 12 16:00:45 UTC 2010


 repoquery.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 553757820c0b6372f31fbf9cb8ce57693950b498
Author: James Antill <james at and.org>
Date:   Wed May 12 11:53:41 2010 -0400

    Sort package lists, in repoquery --whatrequires output.

diff --git a/repoquery.py b/repoquery.py
index b7ac4d3..ced0b04 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -568,7 +568,7 @@ class YumBaseQuery(yum.YumBase):
                         require_recursive(pkg.name)
 
         require_recursive(name)
-        return self.queryPkgFactory(pkgs.values())
+        return self.queryPkgFactory(sorted(pkgs.values()))
 
     def fmt_whatobsoletes(self, name, **kw):
         pkgs = []


More information about the Yum-commits mailing list