summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2013-08-11 10:19:50 -0700
committerBrian Dolbec <dolsen@gentoo.org>2013-08-11 10:19:50 -0700
commit6efec6f4867ea61e95253bdcf00adccec2fc40b9 (patch)
treed6214dfcfc8c269c3c1880a1a5971a966baeec20 /pym
parent11dd993b67271054cf7a5746e55ebaf41795cfc0 (diff)
downloadgentoolkit-6efec6f4867ea61e95253bdcf00adccec2fc40b9.tar.gz
eclean: simplify the sorting
Diffstat (limited to 'pym')
-rw-r--r--pym/gentoolkit/eclean/output.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/gentoolkit/eclean/output.py b/pym/gentoolkit/eclean/output.py
index ab53ab4..d40f3bc 100644
--- a/pym/gentoolkit/eclean/output.py
+++ b/pym/gentoolkit/eclean/output.py
@@ -178,8 +178,7 @@ class OutputControl(object):
@param pkgs: dict. of {cat/pkg-ver: src_uri,}
"""
indent = ' ' * 12
- keys = list(pkgs.keys())
- keys.sort()
+ keys = sorted(pkgs)
for key in keys:
if pkgs[key]:
saved = ""