On 6/4/20 12:41 PM, Vladimir Sementsov-Ogievskiy wrote:
We are going to move field-parsing to super-class, this will be simpler
with simple string specifiers instead of variables.
For some reason python doesn't allow to define ctypes in class too, as
well as fields: it's not available than in 'for' operator. Don't worry:
ctypes will be moved to metaclass soon.
Grammar suggestion:
For some reason, python doesn't allow the definition of ctypes in the
class alongside fields: it would not be available then for use by the
'for' operator.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
---
tests/qemu-iotests/qcow2_format.py | 50 +++++++++++++++++-------------
1 file changed, 28 insertions(+), 22 deletions(-)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org