Searched hist:"6 ccea1e4d9a39d0bcf5be5a7b49270c2132b9dcb" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | configure | 6ccea1e4d9a39d0bcf5be5a7b49270c2132b9dcb Thu Apr 12 13:09:52 CDT 2012 Peter Maydell <peter.maydell@linaro.org> configure: Insist on a Python 2, not Python 3
Our Python scripts require Python 2 and will fail on Python 3, eg: File "/home/petmay01/linaro/qemu-from-laptop/qemu/scripts/qapi-commands.py", line 378 except getopt.GetoptError, err: ^ SyntaxError: invalid syntax
Add a check to configure that Python is not a Python 3, so we can fail with a comprehensible error rather than an obscure one.
Reported-by: Boris Matti <swiftos@lavabit.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
|