diff options
author | Eduardo Habkost | 2018-03-12 19:55:01 +0100 |
---|---|---|
committer | Eduardo Habkost | 2018-03-12 23:10:16 +0100 |
commit | fb2e1cc6c45fd69082a4793a662778c7a747c452 (patch) | |
tree | f0f616f9f379165516cf63f0eeaf5967bd8e46cc /scripts/qmp/qmp.py | |
parent | device-crash-test: New known crashes (diff) | |
download | qemu-fb2e1cc6c45fd69082a4793a662778c7a747c452.tar.gz qemu-fb2e1cc6c45fd69082a4793a662778c7a747c452.tar.xz qemu-fb2e1cc6c45fd69082a4793a662778c7a747c452.zip |
qemu.py: Use items() instead of iteritems()
items() is less efficient on Python 2.x, but makes the code work
on both Python 2 and Python 3.
Cc: Lukáš Doktor <ldoktor@redhat.com>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: Cleber Rosa <crosa@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20180312185503.5746-2-ehabkost@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/qmp/qmp.py')
0 files changed, 0 insertions, 0 deletions