Re: [Qemu-devel] [PATCH] Python3 Support for qmp.py

2017-07-03 Thread Stefan Hajnoczi
On Sat, Jul 01, 2017 at 12:39:41AM +0530, Ishani Chugh wrote: > This patch intends to make qmp.py compatible with both python2 and python3. Please identify the Python 2/3 compatibility issues addressed in the patch like: * Python 3 does not have dict.has_key(key), use key in dict instead * Avoi

[Qemu-devel] [PATCH] Python3 Support for qmp.py

2017-06-30 Thread Ishani Chugh
This patch intends to make qmp.py compatible with both python2 and python3. Signed-off-by: Ishani Chugh --- scripts/qmp/qmp.py | 66 +++--- 1 file changed, 43 insertions(+), 23 deletions(-) diff --git a/scripts/qmp/qmp.py b/scripts/qmp/qmp.py inde