mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Revert "python: fix call of Python handlers of events"
This reverts one part of commit 85235aec83 related to reference
counts. Py_BuildValue always increments the reference count (when it
succeeds) and I could not reproduce the Python 3 problem that was
described there.
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
@@ -139,7 +139,6 @@ guestfs_int_py_event_callback_wrapper (guestfs_h *g,
|
||||
goto out;
|
||||
}
|
||||
|
||||
Py_INCREF (args);
|
||||
py_r = PyObject_CallObject (py_callback, args);
|
||||
Py_DECREF (args);
|
||||
if (py_r != NULL)
|
||||
|
||||
Reference in New Issue
Block a user