diff options
author | Cole Robinson <crobinso@redhat.com> | 2010-12-02 12:15:10 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2011-01-10 15:18:05 -0500 |
commit | aa37abae901eaf6114f96dc24d6478fd1099192a (patch) | |
tree | 745baaf9f7f450d3fa43c90365cb9c9ad5c4fca8 /tests | |
parent | 1e025b834b7f5cdd677d29a6c78e3edbecc839a4 (diff) | |
download | libvirt-python-v6-aa37abae901eaf6114f96dc24d6478fd1099192a.tar.gz libvirt-python-v6-aa37abae901eaf6114f96dc24d6478fd1099192a.tar.xz libvirt-python-v6-aa37abae901eaf6114f96dc24d6478fd1099192a.zip |
python: Use PyCapsule API if availablev0.8.8
On Fedore 14, virt-manager spews a bunch of warnings to the console:
/usr/lib64/python2.7/site-packages/libvirt.py:1781: PendingDeprecationWarning: The CObject type is marked Pending Deprecation in Python 2.7. Please use capsule objects instead.
Have libvirt use the capsule API if available. I've verified this compiles
fine on older python (2.6 in RHEL6 which doesn't have capsules), and
virt-manager seems to function fine.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions