hv_kvm.QmpMessage: Use dict.get
authorMichael Hanselmann <hansmi@google.com>
Wed, 21 Dec 2011 14:45:59 +0000 (15:45 +0100)
committerMichael Hanselmann <hansmi@google.com>
Wed, 21 Dec 2011 15:25:16 +0000 (16:25 +0100)
commit9b87c2cfb99af4f04f19988f3d897f02e03206c5
treecd8e5870d155fce186547fea72a69ddafda7178c
parenta182a3ed71ac3fc17f265b9d6372d77e026dc054
hv_kvm.QmpMessage: Use dict.get

No need to look up the key twice.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/hypervisor/hv_kvm.py