X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpython.c;h=b106e45cbb77e74df010716a455ed619cf3aa377;hb=d45f9cdfc084fc5e8783073b993d58b84deb5d58;hp=c6ee5544c47dfb0d1be423de1b232275731e898f;hpb=3fb6fe5776c14f41879249f4147c0b8924b39cc1;p=collectd.git diff --git a/src/python.c b/src/python.c index c6ee5544..b106e45c 100644 --- a/src/python.c +++ b/src/python.c @@ -784,8 +784,8 @@ static PyObject *cpy_register_write(PyObject *self, PyObject *args, static PyObject *cpy_register_notification(PyObject *self, PyObject *args, PyObject *kwds) { return cpy_register_generic_userdata((void *)plugin_register_notification, - (void *)cpy_notification_callback, args, - kwds); + (void *)cpy_notification_callback, + args, kwds); } static PyObject *cpy_register_flush(PyObject *self, PyObject *args, @@ -944,7 +944,8 @@ static PyObject *cpy_unregister_read(PyObject *self, PyObject *arg) { } static PyObject *cpy_unregister_write(PyObject *self, PyObject *arg) { - return cpy_unregister_generic_userdata(plugin_unregister_write, arg, "write"); + return cpy_unregister_generic_userdata(plugin_unregister_write, arg, + "write"); } static PyObject *cpy_unregister_notification(PyObject *self, PyObject *arg) { @@ -953,7 +954,8 @@ static PyObject *cpy_unregister_notification(PyObject *self, PyObject *arg) { } static PyObject *cpy_unregister_flush(PyObject *self, PyObject *arg) { - return cpy_unregister_generic_userdata(plugin_unregister_flush, arg, "flush"); + return cpy_unregister_generic_userdata(plugin_unregister_flush, arg, + "flush"); } static PyObject *cpy_unregister_shutdown(PyObject *self, PyObject *arg) { @@ -1397,7 +1399,7 @@ static int cpy_config(oconfig_item_t *ci) { status = 1; } } - return (status); + return status; } void module_register(void) {