diff options
| author | Brian Dolbec <dolsen@gentoo.org> | 2013-08-11 10:19:50 -0700 |
|---|---|---|
| committer | Brian Dolbec <dolsen@gentoo.org> | 2013-08-11 10:19:50 -0700 |
| commit | 6efec6f4867ea61e95253bdcf00adccec2fc40b9 (patch) | |
| tree | d6214dfcfc8c269c3c1880a1a5971a966baeec20 /pym | |
| parent | 11dd993b67271054cf7a5746e55ebaf41795cfc0 (diff) | |
| download | gentoolkit-6efec6f4867ea61e95253bdcf00adccec2fc40b9.tar.gz | |
eclean: simplify the sorting
Diffstat (limited to 'pym')
| -rw-r--r-- | pym/gentoolkit/eclean/output.py | 3 |
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 = "" |
