summaryrefslogtreecommitdiffstats
path: root/scripts/qmp/qmp.py
diff options
context:
space:
mode:
authorEduardo Habkost2018-03-12 19:55:01 +0100
committerEduardo Habkost2018-03-12 23:10:16 +0100
commitfb2e1cc6c45fd69082a4793a662778c7a747c452 (patch)
treef0f616f9f379165516cf63f0eeaf5967bd8e46cc /scripts/qmp/qmp.py
parentdevice-crash-test: New known crashes (diff)
downloadqemu-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