Skip to content
Unverified Commit 9a4d7e56 authored by Niels Thykier's avatar Niels Thykier
Browse files

cruft-report: Refactor to improve looping over dicts



This commit aims to pre-empty some of the 2to3 delta while also
using more concise constructs.

Examples include:

   y = x.keys()
   y.sort(...)

is rewritten into:

   y = sorted(x.keys(), ...)

(Except in one case, where we really wanted "max" rather than "sort".)

Signed-off-by: default avatarNiels Thykier <niels@thykier.net>
parent 6e24f59a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment