summary refs log tree commit diff stats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-06-14 21:14:36 +0200
committerKevin Wolf <kwolf@redhat.com>2018-06-15 14:49:44 +0200
commitf1b34a248e9785e8cc0d28a1685d2cf4460bb256 (patch)
treea366c76efda2a62e8a612fc0f98181aa32c4345c /scripts/qapi/commands.py
parenteb0e0f7d3d4a9c585421d05b19ca71df5d69fc47 (diff)
downloadfocaccia-qemu-f1b34a248e9785e8cc0d28a1685d2cf4460bb256.tar.gz
focaccia-qemu-f1b34a248e9785e8cc0d28a1685d2cf4460bb256.zip
block-qdict: Tweak qdict_flatten_qdict(), qdict_flatten_qlist()
qdict_flatten_qdict() skips copying scalars from @qdict to @target
when the two are the same.  Fair enough, but it uses a non-obvious
test for "same".  Replace it by the obvious one.  While there, improve
comments.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions