[PATCH] pwclient: add option to print statistics, similar to 'list' or 'search'.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Feb 19 10:02:06 EST 2014

Dear Arnout Vandecappelle,

On Tue, 18 Feb 2014 21:02:59 +0100, Arnout Vandecappelle
(Essensium/Mind) wrote:

> +    for state, statecnt in statemap.items():
> +        print("%-12s: %d" % state, statecnt)

This line doesn't work here. It should be:

	print("%-12s: %d" % (state, statecnt))

Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

More information about the Patchwork mailing list