Commit 59b17aef authored by Tim Lauridisen's avatar Tim Lauridisen

Added patch by Michael Schwendt to sort repoclosure output

(yum bz# 681)
parent 0f9209a1
...@@ -192,7 +192,12 @@ def main(): ...@@ -192,7 +192,12 @@ def main():
my.logger.info('Num Packages in Repos: %s' % num) my.logger.info('Num Packages in Repos: %s' % num)
pkgs = baddeps.keys() pkgs = baddeps.keys()
pkgs.sort()
def sortbyname(a,b):
return cmp(a.__str__(),b.__str__())
pkgs.sort(sortbyname)
for pkg in pkgs: for pkg in pkgs:
my.logger.info('package: %s from %s\n unresolved deps: ' % (pkg, pkg.repoid)) my.logger.info('package: %s from %s\n unresolved deps: ' % (pkg, pkg.repoid))
for (n, f, v) in baddeps[pkg]: for (n, f, v) in baddeps[pkg]:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment