]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid python 2.4 build failure
authorEric Blake <eblake@redhat.com>
Fri, 24 Jun 2011 04:09:00 +0000 (22:09 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 24 Jun 2011 04:09:00 +0000 (22:09 -0600)
commit178bab1c53ed7a8f8d51e60accad47ef5683251e
tree22e0bf5cfe2fe07a92e982e2d139d94b5cee3774
parentab228c81f29e506a580baada2be7a8379950cf77
build: avoid python 2.4 build failure

On RHEL 5, I got:

/usr/bin/python ./generator.py /usr/bin/python
  File "./generator.py", line 427
    "virStreamFree", # Needed in custom virStream __del__, but free shouldn't
                   ^
SyntaxError: invalid syntax

* python/generator.py (function_skip_python_impl): Use same syntax
as other skip lists.
python/generator.py