projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
beecdee
)
eclean: sort pkg list shown to user
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 31 Oct 2012 18:46:39 +0000
(14:46 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 31 Oct 2012 18:46:39 +0000
(14:46 -0400)
This makes it much easier to scan through and pick out packages.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
pym/gentoolkit/eclean/output.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/eclean/output.py
b/pym/gentoolkit/eclean/output.py
index c8c3f780b6064afe20ecdbbdf86f6f4cb0601c59..e7ce59bdae94f36ce923424b93de46c32c8a3bc9 100644
(file)
--- a/
pym/gentoolkit/eclean/output.py
+++ b/
pym/gentoolkit/eclean/output.py
@@
-178,7
+178,9
@@
class OutputControl(object):
@param pkgs: dict. of {cat/pkg-ver: src_uri,}
"""
indent = ' ' * 12
- for key in pkgs:
+ keys = pkgs.keys()
+ keys.sort()
+ for key in keys:
if pkgs[key]:
saved = ""
else: