Skip to content
Commit 0eb57800 authored by Marc Hartmayer's avatar Marc Hartmayer Committed by Paolo Bonzini
Browse files

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: default avatarMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Tested-by: default avatarStefan Raspl <raspl@linux.vnet.ibm.com>
[Include fix for logging mode by Stefan Raspl]
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 006f1548
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment