diff options
author | Guannan Ren <gren@redhat.com> | 2013-03-21 16:27:09 +0800 |
---|---|---|
committer | Guannan Ren <gren@redhat.com> | 2013-03-22 11:50:09 +0800 |
commit | 497a0ceecbdf4dc72f20612cf2a88a1e551bc8f4 (patch) | |
tree | d4f7ab7162199e5bd269fdd288c24d1ce764a7d9 /libvirt-override-virDomainSnapshot.py | |
parent | a5036ccfd634186c57202c7f49c4eb6703911220 (diff) | |
download | libvirt-python-split-497a0ceecbdf4dc72f20612cf2a88a1e551bc8f4.tar.gz libvirt-python-split-497a0ceecbdf4dc72f20612cf2a88a1e551bc8f4.tar.xz libvirt-python-split-497a0ceecbdf4dc72f20612cf2a88a1e551bc8f4.zip |
python: treat flags as default argument with value 0
The following four functions have not changed because default arguments
have to come after positional arguments. Changing them will break the
the binding APIs.
migrate(self, dconn, flags, dname, uri, bandwidth):
migrate2(self, dconn, dxml, flags, dname, uri, bandwidth):
migrateToURI(self, duri, flags, dname, bandwidth):
migrateToURI2(self, dconnuri, miguri, dxml, flags, dname, bandwidth):
Diffstat (limited to 'libvirt-override-virDomainSnapshot.py')
-rw-r--r-- | libvirt-override-virDomainSnapshot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override-virDomainSnapshot.py b/libvirt-override-virDomainSnapshot.py index bf708a5..ec53358 100644 --- a/libvirt-override-virDomainSnapshot.py +++ b/libvirt-override-virDomainSnapshot.py @@ -6,7 +6,7 @@ """Get the domain that a snapshot was created for""" return self.domain() - def listAllChildren(self, flags): + def listAllChildren(self, flags=0): """List all child snapshots and returns a list of snapshot objects""" ret = libvirtmod.virDomainSnapshotListAllChildren(self._o, flags) if ret is None: |