Re: [Qemu-devel] [PATCH] scripts/qapi.py: Avoid syntax not supported by Python 2.4

2014-05-21 Thread Andreas Färber
Am 20.05.2014 20:29, schrieb Luiz Capitulino: > 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: Pe

[Qemu-devel] [PATCH] scripts/qapi.py: Avoid syntax not supported by Python 2.4

2014-05-20 Thread Luiz Capitulino
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 Signed-off-by: Luiz Capitulino --- scripts/

Re: [Qemu-devel] [PATCH] scripts/qapi.py: Avoid syntax not supported by Python 2.4

2013-08-20 Thread Luiz Capitulino
On Tue, 20 Aug 2013 15:50:15 +0100 Peter Maydell wrote: > 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. > > Sig

[Qemu-devel] [PATCH] scripts/qapi.py: Avoid syntax not supported by Python 2.4

2013-08-20 Thread Peter Maydell
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 --- I don't have an old python to test this