summaryrefslogtreecommitdiff
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2014-05-20 13:50:19 -0400
committerLuiz Capitulino <lcapitulino@redhat.com>2014-05-21 09:04:03 -0400
commit347888113020e874027cb200bb38aa0852e42839 (patch)
tree4aaeb260b28e6fa01dcb7fa2ff1fe87e34e2fd47 /scripts/qapi-commands.py
parent3b6959506831193f37cc830c8e111b437c0d1380 (diff)
downloadqemu-347888113020e874027cb200bb38aa0852e42839.tar.gz
scripts/qapi.py: Avoid syntax not supported by Python 2.4
The Python "except Foo as x" syntax was only introduced in Python 2.6, but we aim to support Python 2.4 and later. Use the old-style "except Foo, x" syntax instead, thus fixing configure/compile on systems with older Python. Reported-by: Peter Maydell <peter.maydell@linaro.org> Tested-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions