1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

debug: Use debuglevel_(get|set) function

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Nov  8 11:03:11 CET 2018 on sn-devel-144
This commit is contained in:
Andreas Schneider
2018-11-07 14:14:05 +01:00
committed by Andreas Schneider
parent 71ef09c1af
commit 2d512b278e
16 changed files with 66 additions and 40 deletions

View File

@ -347,7 +347,7 @@ static PyObject *py_lp_dump_a_parameter(PyObject *self, PyObject *args)
static PyObject *py_lp_log_level(PyObject *self, PyObject *unused)
{
int ret = DEBUGLEVEL_CLASS[DBGC_CLASS];
int ret = debuglevel_get();
return PyInt_FromLong(ret);
}