python: Fix bindings for virDomainSnapshotGet{Domain,Connect}libvirt-0.10.2-18.el6_4.1libvirt-0.10.2-18.el6_4.10libvirt-0.10.2-18.el6_4.11libvirt-0.10.2-18.el6_4.12libvirt-0.10.2-18.el6_4.13libvirt-0.10.2-18.el6_4.14libvirt-0.10.2-18.el6_4.2libvirt-0.10.2-18.el6_4.3libvirt-0.10.2-18.el6_4.4libvirt-0.10.2-18.el6_4.5libvirt-0.10.2-18.el6_4.6libvirt-0.10.2-18.el6_4.7libvirt-0.10.2-18.el6_4.8libvirt-0.10.2-18.el6_4.9
commit3b87cec14dfb84bafbe5ba8672ceee7d62a5d936
authorJiri Denemark <[email protected]>
Wed, 23 Jan 2013 11:14:57 +0000 (23 12:14 +0100)
committerJiri Denemark <[email protected]>
Thu, 28 Feb 2013 09:54:24 +0000 (28 10:54 +0100)
tree25a3d6ee6a467ff8ce3e885935ab141cf620e922
parent2508c934bc82e40a1b35271e6ad8bcd73c05a73b
python: Fix bindings for virDomainSnapshotGet{Domain,Connect}

https://bugzilla.redhat.com/show_bug.cgi?id=915348

virDomainSnapshot.getDomain() and virDomainSnapshot.getConnect()
wrappers around virDomainSnapshotGet{Domain,Connect} were not supposed
to be ever implemented. The class should contain proper domain() and
connect() accessors that fetch python objects stored internally within
the class. While domain() was already provided, connect() was missing.

This patch adds connect() method to virDomainSnapshot class and
reimplements getDomain() and getConnect() methods as aliases to domain()
and connect() for backward compatibility.
(cherry picked from commit 7b35fd718d2156224797ace08f752dfbb9884520)

Conflicts:
python/generator.py -- context
generator.py
libvirt-override-virDomainSnapshot.py