diff options
author | Marc Hartmayer <mhartmay@linux.vnet.ibm.com> | 2018-01-09 13:27:03 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-24 01:43:39 +0100 |
commit | 0eb578009a1d530a11846d7c4733a5db04730884 (patch) | |
tree | b31f033103bf210987ae2a392b44096ed35f5022 /usr | |
parent | tools/kvm_stat: use a namedtuple for storing the values (diff) | |
download | linux-0eb578009a1d530a11846d7c4733a5db04730884.tar.xz linux-0eb578009a1d530a11846d7c4733a5db04730884.zip |
tools/kvm_stat: use a more pythonic way to iterate over dictionaries
If it's clear that the values of a dictionary will be used then use
the '.items()' method.
Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Tested-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
[Include fix for logging mode by Stefan Raspl]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions