mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 14:57:42 +00:00
Add missing parameter in python Disk IO error callback
The IO error callback was forgetting to pass the action parameter, causing a stack trace when IO errors arrive * python/libvirt-override-virConnect.py: Add missing action parameter in IO error callback
This commit is contained in:
parent
7d02393b1b
commit
a711633909
@ -94,7 +94,7 @@
|
|||||||
cb = cbData["cb"]
|
cb = cbData["cb"]
|
||||||
opaque = cbData["opaque"]
|
opaque = cbData["opaque"]
|
||||||
|
|
||||||
cb(self, virDomain(self, _obj=dom), srcPath, devAlias, opaque)
|
cb(self, virDomain(self, _obj=dom), srcPath, devAlias, action, opaque)
|
||||||
return 0
|
return 0
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user