Skip to content
Commit 34788811 authored by Luiz Capitulino's avatar Luiz Capitulino
Browse files

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: default avatarPeter Maydell <peter.maydell@linaro.org>
Tested-by: default avatarAndreas Färber <andreas.faerber@web.de>
Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
parent 3b695950
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment