Re: [Qemu-devel] [PATCH v3 01/13] qapi: convert to use python print function instead of statement

2018-01-15 Thread Philippe Mathieu-Daudé
Hi Daniel, On 01/15/2018 07:26 AM, Daniel P. Berrange wrote: > Get Py2 + 3 compatibility by using the print function > instead of print statement. This works for 2.6 onwards. > > Signed-off-by: Daniel P. Berrange > --- > scripts/qapi.py| 12 ++-- > scripts/qapi2texi.py

[Qemu-devel] [PATCH v3 01/13] qapi: convert to use python print function instead of statement

2018-01-15 Thread Daniel P. Berrange
Get Py2 + 3 compatibility by using the print function instead of print statement. This works for 2.6 onwards. Signed-off-by: Daniel P. Berrange --- scripts/qapi.py| 12 ++-- scripts/qapi2texi.py | 9 + tests/qapi-schema/test-qapi.py | 41 +++