]> xenbits.xensource.com Git - libvirt.git/commit
python: Use a pure python implementation of 'vir*GetConnect'
authorCole Robinson <crobinso@redhat.com>
Wed, 23 Sep 2009 16:38:47 +0000 (12:38 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 5 Oct 2009 17:31:38 +0000 (13:31 -0400)
commit9e09f313d1472d25a32600d9fc90774ecef8aa8b
tree5daefd5947201f961dfd3c72f10d0c11984dcf0c
parent97648a9751d5260ea67d4b74f89c293403cbb6b4
python: Use a pure python implementation of 'vir*GetConnect'

The API docs explictly warn that we shouldn't use the C vir*GetConnect calls
in bindings: doing so can close the internal connection pointer and cause
things to get screwy. Implement these calls in python.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
python/generator.py