diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-09-23 10:39:40 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-09-23 10:39:40 +0300 |
commit | 6bbc19fb228465215b59cd2c902564d7665ce554 (patch) | |
tree | 562f96e0ae23f0451db0e8602a0ea9bf23ec9533 /python/rpmte-py.c | |
parent | 2ede83b6598a3026c1f016a109220929f62b0829 (diff) | |
download | rpm-6bbc19fb228465215b59cd2c902564d7665ce554.tar.gz rpm-6bbc19fb228465215b59cd2c902564d7665ce554.tar.bz2 rpm-6bbc19fb228465215b59cd2c902564d7665ce554.zip |
Lose the debug junk from python bindings
Diffstat (limited to 'python/rpmte-py.c')
-rw-r--r-- | python/rpmte-py.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/python/rpmte-py.c b/python/rpmte-py.c index b63a7a1dd..5fe7e2517 100644 --- a/python/rpmte-py.c +++ b/python/rpmte-py.c @@ -51,17 +51,6 @@ struct rpmteObject_s { }; static PyObject * -rpmte_Debug(rpmteObject * s, PyObject * args, PyObject * kwds) -{ - char * kwlist[] = {"debugLevel", NULL}; - - if (!PyArg_ParseTupleAndKeywords(args, kwds, "i", kwlist, &_rpmte_debug)) - return NULL; - - Py_RETURN_NONE; -} - -static PyObject * rpmte_TEType(rpmteObject * s) { return Py_BuildValue("i", rpmteType(s->te)); @@ -216,8 +205,6 @@ rpmte_FI(rpmteObject * s, PyObject * args, PyObject * kwds) } static struct PyMethodDef rpmte_methods[] = { - {"Debug", (PyCFunction)rpmte_Debug, METH_VARARGS|METH_KEYWORDS, - NULL}, {"Type", (PyCFunction)rpmte_TEType, METH_NOARGS, "te.Type() -> Type\n\ - Return element type (rpm.TR_ADDED | rpm.TR_REMOVED).\n" }, |