diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-08-10 02:45:31 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-08-10 02:45:31 +0000 |
commit | 523ff36ba4c6c2dd82dc5f5188b0fad9799186e6 (patch) | |
tree | 62407405782d79039db24beb237f66f9ea779f1d | |
parent | bcaeb5febbe0d242ca2a51db237ac11630eb74f2 (diff) | |
download | portage-523ff36ba4c6c2dd82dc5f5188b0fad9799186e6.tar.gz portage-523ff36ba4c6c2dd82dc5f5188b0fad9799186e6.tar.bz2 portage-523ff36ba4c6c2dd82dc5f5188b0fad9799186e6.zip |
In calc_depclean(), sort packages that are displayed due to being pulled
in by link level dependencies.
svn path=/main/trunk/; revision=13970
-rw-r--r-- | pym/_emerge/actions.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index cd980231f..5bd789c1f 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1028,7 +1028,8 @@ def calc_depclean(settings, trees, ldpath_mtimes, line in wrap(msg, 70)), level=logging.WARNING, noiselevel=-1) msg = [] - for pkg, consumers in consumer_map.iteritems(): + for pkg in sorted(consumer_map, key=cmp_sort_key(cmp_pkg_cpv)): + consumers = consumer_map[pkg] unique_consumers = set(chain(*consumers.values())) unique_consumers = sorted(consumer.mycpv \ for consumer in unique_consumers) |