Re: [Qemu-devel] Re: [PATCH 1/1] QMP test code - qmp.py

2010-04-07 Thread Costas Drogos
On Wed, Apr 7, 2010 at 16:51, Avi Kivity wrote: >>  This won't do what we want for 2.7 and newer, so a better if would be: Thats why i said it is just an ugly hack :) Anyway, I've just cloned the qmp-unstable tree to run some tests and report back >> if sys.version_info<  (2, 6): >>     import s

Re: [Qemu-devel] Re: [PATCH 1/1] QMP test code - qmp.py

2010-04-07 Thread Avi Kivity
On 04/07/2010 04:36 PM, Luiz Capitulino wrote: diff --git a/QMP/qmp.py b/QMP/qmp.py index d9da603..f8581c4 100644 --- a/QMP/qmp.py +++ b/QMP/qmp.py @@ -8,7 +8,15 @@ # This work is licensed under the terms of the GNU GPL, version 2. See # the COPYING file in the top-level directory. -impo

[Qemu-devel] Re: [PATCH 1/1] QMP test code - qmp.py

2010-04-07 Thread Luiz Capitulino
On Wed, 7 Apr 2010 03:40:32 +0300 Costas Drogos wrote: > Hello there, > > a very small patch to address two small issues: > > 1) The json state in python2.5 and python2.6. json module is included > by default on python2.6, whereas you have to import simplejson in > python2.5. I have this proble