aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-09-07 17:45:55 +0200
committerPeter Maydell <peter.maydell@linaro.org>2015-09-14 18:02:59 +0100
commit2752e5bedb26fa0c7291f810f9f534b688b2f1d2 (patch)
treee11d60006ff12ec471d11ff132f227a73fb4b41e /block/qcow2.h
parenta2aa09e18186801931763fbd40a751fa39971b18 (diff)
qapi: Fix cgen() for Python older than 2.7
A feature new in Python 2.7 crept into commit 77e703b: re.subn()'s fifth argument. Avoid that, use re.compile(). Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com> Message-id: 1441640755-23902-1-git-send-email-armbru@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'block/qcow2.h')
0 files changed, 0 insertions, 0 deletions