diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2014-05-20 13:50:19 -0400 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-05-21 09:04:03 -0400 |
commit | 347888113020e874027cb200bb38aa0852e42839 (patch) | |
tree | 4aaeb260b28e6fa01dcb7fa2ff1fe87e34e2fd47 /ui | |
parent | 3b6959506831193f37cc830c8e111b437c0d1380 (diff) | |
download | hqemu-347888113020e874027cb200bb38aa0852e42839.zip hqemu-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 'ui')
0 files changed, 0 insertions, 0 deletions