]> git.ipfire.org Git - thirdparty/libvirt.git/commit
python: treat flags as default argument with value 0
authorGuannan Ren <gren@redhat.com>
Thu, 21 Mar 2013 08:27:09 +0000 (16:27 +0800)
committerGuannan Ren <gren@redhat.com>
Fri, 22 Mar 2013 03:50:09 +0000 (11:50 +0800)
commita515aaa9e4e1f6e031baabdc3a05bd6d0479ec4b
tree216d3c87431938f728d32a39a29081b833537e1a
parent28933c5574575347f53227606c54c5a58728404b
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):
python/generator.py
python/libvirt-override-virConnect.py
python/libvirt-override-virDomain.py
python/libvirt-override-virDomainSnapshot.py
python/libvirt-override-virStoragePool.py
python/libvirt-override.py