From 6efec6f4867ea61e95253bdcf00adccec2fc40b9 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sun, 11 Aug 2013 10:19:50 -0700 Subject: eclean: simplify the sorting --- pym/gentoolkit/eclean/output.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pym') 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 = "" -- cgit v1.2.3