aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-08-01 21:59:08 +0100
committerJames Booth <boothj5@gmail.com>2016-08-01 21:59:12 +0100
commitb72bb3a1572d5050f129ae5c644449b5302dacf6 (patch)
treee51eabbbfc9713e76ef97aa38a7daa45b3ab99bf /src
parent2518aa5078e8774091c189993f1e295bde1b93ee (diff)
downloadprofani-tty-b72bb3a1572d5050f129ae5c644449b5302dacf6.tar.gz
Remove log debugs
Diffstat (limited to 'src')
-rw-r--r--src/plugins/python_api.c7
1 files changed, 0 insertions, 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);