Re: [Qemu-devel] [PATCH v6 04/10] qemu.py: Simplify QMP key-conversion

2017-08-24 Thread Cleber Rosa
On 08/18/2017 10:26 AM, Lukáš Doktor wrote: > The QMP key conversion consist of '_'s to be replaced with '-'s, which > can easily be done by a single `str.replace` method which is faster and > does not require `string` module import. > > Signed-off-by: Lukáš Doktor > Reviewed-by: Eduardo Habkos

[Qemu-devel] [PATCH v6 04/10] qemu.py: Simplify QMP key-conversion

2017-08-18 Thread Lukáš Doktor
The QMP key conversion consist of '_'s to be replaced with '-'s, which can easily be done by a single `str.replace` method which is faster and does not require `string` module import. Signed-off-by: Lukáš Doktor Reviewed-by: Eduardo Habkost --- scripts/qemu.py | 5 + 1 file changed, 1 inser