diff options
author | Philipp Hahn <hahn@univention.de> | 2018-11-21 07:55:57 +0100 |
---|---|---|
committer | Philipp Hahn <hahn@univention.de> | 2020-08-06 08:50:37 +0200 |
commit | ee5c856af7563619305a0c68ab32c06e6e6c1b2d (patch) | |
tree | c041309150f2865fb367e30dfa519fd4b036d7bc /libvirt-override-virDomainSnapshot.py | |
parent | 0ca8dc6340a85d0cb021d860a166ad4b92251d23 (diff) | |
download | libvirt-python-ee5c856af7563619305a0c68ab32c06e6e6c1b2d.tar.gz |
Remove legacy libvirtError arguments
The fields have been deprecated in C with
git:f60dc0bc09f09c6817d6706a9edb1579a3e2b2b8
They are only passed to the libvirtError constructor, but not stored for
later or used anywhere else.
sed -ri '/raise libvirtError/s/, \w+=self(\._dom)?//' *.py
Signed-off-by: Philipp Hahn <hahn@univention.de>
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 87eac86..fd4b311 100644 --- a/libvirt-override-virDomainSnapshot.py +++ b/libvirt-override-virDomainSnapshot.py @@ -10,7 +10,7 @@ """List all child snapshots and returns a list of snapshot objects""" ret = libvirtmod.virDomainSnapshotListAllChildren(self._o, flags) if ret is None: - raise libvirtError("virDomainSnapshotListAllChildren() failed", conn=self) + raise libvirtError("virDomainSnapshotListAllChildren() failed") retlist = list() for snapptr in ret: |