mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-12-04 20:23:46 +03:00
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>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
"""List all child checkpoints and returns a list of checkpoint objects"""
|
||||
ret = libvirtmod.virDomainCheckpointListAllChildren(self._o, flags)
|
||||
if ret is None:
|
||||
raise libvirtError("virDomainCheckpointListAllChildren() failed", conn=self)
|
||||
raise libvirtError("virDomainCheckpointListAllChildren() failed")
|
||||
|
||||
retlist = list()
|
||||
for chkptr in ret:
|
||||
|
||||
Reference in New Issue
Block a user