diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-08-20 15:50:15 +0100 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2013-08-20 11:52:00 -0400 |
commit | 21e0043bada1a24ae2ba6cd0051e104c0cbf9634 (patch) | |
tree | 93c36176b0d1b22aef13fb6b300ded0b88af3bd9 /disas.c | |
parent | 277acfe8b38de35be8cb6e274678b5a7919c2d44 (diff) | |
download | qemu-21e0043bada1a24ae2ba6cd0051e104c0cbf9634.zip |
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.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'disas.c')
0 files changed, 0 insertions, 0 deletions