]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
Adjust qapi-visit for python-2.4.3
authorRichard Henderson <rth@twiddle.net>
Thu, 31 Oct 2013 20:26:01 +0000 (13:26 -0700)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 11 Nov 2013 15:02:21 +0000 (10:02 -0500)
commit7b75d9d61bf9b7b43f6df2fb2fbfc38c4eb9d2e9
tree5bca08dd7b1b805c43d5f4e06d9a45216ce0cbcd
parent964668b03d26f0b5baa5e5aff0c966f4fcb76e9e
Adjust qapi-visit for python-2.4.3

We say we support python 2.4, but python 2.4.3 does not
support the "expr if test else expr" syntax used here.

This allows QEMU to compile on RHEL 5.3, the last release for ia64.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
scripts/qapi-visit.py