[yum-commits] Branch 'yum-3_2_X' - yum/__init__.py
James Antill
james at osuosl.org
Tue Jun 14 17:49:19 UTC 2011
yum/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit aec2b47ae717517656cd814acac295359acca57e
Author: James Antill <james at and.org>
Date: Tue Jun 14 10:25:48 2011 -0400
Sort the packages, best we can easily, in searchPackageProvides().
diff --git a/yum/__init__.py b/yum/__init__.py
index 53c21bd..a0c6b9d 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -2715,7 +2715,7 @@ class YumBase(depsolve.Depsolve):
self.verbose_logger.log(logginglevels.DEBUG_1,
_('Searching %d packages'), len(where))
- for po in where:
+ for po in sorted(where):
self.verbose_logger.log(logginglevels.DEBUG_2,
_('searching package %s'), po)
tmpvalues = []
@@ -2781,7 +2781,7 @@ class YumBase(depsolve.Depsolve):
arg_taglist = taglist_provonly
arg_regex = re.compile(fnmatch.translate(arg))
- for po in where:
+ for po in sorted(where):
searchlist = []
tmpvalues = []
for tag in arg_taglist:
More information about the Yum-commits
mailing list