projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcaeb5f
)
In calc_depclean(), sort packages that are displayed due to being pulled
author
Zac Medico
<zmedico@gentoo.org>
Mon, 10 Aug 2009 02:45:31 +0000
(
02:45
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 10 Aug 2009 02:45:31 +0000
(
02:45
-0000)
in by link level dependencies.
svn path=/main/trunk/; revision=13970
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index cd980231fc6b3c0e6d56d912ceecfbeba395f7cf..5bd789c1f8e7c3881499e6002202be31ffcd2a94 100644
(file)
--- 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)