mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-24 15:26:36 -06:00
asyncjob: Fix simple error callback
This commit is contained in:
parent
fad01e70fe
commit
2301f19e4b
@ -99,8 +99,8 @@ def cb_wrapper(callback, asyncjob, *args, **kwargs):
|
||||
asyncjob.set_error(str(e), "".join(traceback.format_exc()))
|
||||
|
||||
|
||||
def _simple_async_done_cb(error, details, errorintro,
|
||||
errorcb, parent, finish_cb):
|
||||
def _simple_async_done_cb(error, details,
|
||||
parent, errorintro, errorcb, finish_cb):
|
||||
if error:
|
||||
if errorcb:
|
||||
errorcb(error, details)
|
||||
|
Loading…
Reference in New Issue
Block a user