From b72bb3a1572d5050f129ae5c644449b5302dacf6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 1 Aug 2016 21:59:08 +0100 Subject: [PATCH] Remove log debugs --- src/plugins/python_api.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/plugins/python_api.c b/src/plugins/python_api.c index 83fbcc1d..805f3558 100644 --- a/src/plugins/python_api.c +++ b/src/plugins/python_api.c @@ -839,26 +839,19 @@ python_api_settings_get_string_list(PyObject *self, PyObject *args) disable_python_threads(); if (!c_list) { - log_debug("NO ITEMS"); Py_RETURN_NONE; } int len = g_strv_length(c_list); - log_debug("GOT ITEMS: %d", len); PyObject *py_list = PyList_New(0); - log_debug("CRETED LIST"); int i = 0; for (i = 0; i < len; i++) { - log_debug("ADDING %s", c_list[i]); PyObject *py_curr = Py_BuildValue("s", c_list[i]); int res = PyList_Append(py_list, py_curr); - log_debug("Created object"); if (res != 0) { - log_debug("ERROR"); Py_RETURN_NONE; } - log_debug("Added"); } return Py_BuildValue("O", py_list);