diff options
author | jbj <devnull@localhost> | 2004-10-12 21:08:04 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2004-10-12 21:08:04 +0000 |
commit | 78c3de9ce3e76ddc3483ec3f32a9a60e3509fc6e (patch) | |
tree | f9af31a98f59d16bf7e0408ecb301a362bef9b9c | |
parent | 112846247dc0f6e0a70b368c0e2bdf77a9355b33 (diff) | |
download | rpm-78c3de9ce3e76ddc3483ec3f32a9a60e3509fc6e.tar.gz rpm-78c3de9ce3e76ddc3483ec3f32a9a60e3509fc6e.tar.bz2 rpm-78c3de9ce3e76ddc3483ec3f32a9a60e3509fc6e.zip |
No need for ps.NumProblems() method.
CVS patchset: 7452
CVS date: 2004/10/12 21:08:04
-rw-r--r-- | python/rpmps-py.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/python/rpmps-py.c b/python/rpmps-py.c index b1c7c730f..4c3954a27 100644 --- a/python/rpmps-py.c +++ b/python/rpmps-py.c @@ -25,20 +25,6 @@ rpmps_Debug(/*@unused@*/ rpmpsObject * s, PyObject * args) return Py_None; } -/*@null@*/ -static PyObject * -rpmps_NumProblems(rpmpsObject * s, PyObject * args) - /*@*/ -{ - int rc; - - if (!PyArg_ParseTuple(args, ":NumProblems")) return NULL; - rc = rpmpsNumProblems(s->ps); -if (_rpmps_debug < 0) -fprintf(stderr, "*** rpmps_NumProblems(%p,%p) rc %d\n", s, args, rc); - return Py_BuildValue("i", rc); -} - static PyObject * rpmps_iter(rpmpsObject * s) /*@*/ @@ -107,8 +93,6 @@ fprintf(stderr, "*** rpmps_Next(%p,%p)\n", s, args); static struct PyMethodDef rpmps_methods[] = { {"Debug", (PyCFunction)rpmps_Debug, METH_VARARGS, NULL}, - {"NumProblems",(PyCFunction)rpmps_NumProblems, METH_VARARGS, - "ps.NumProblems -> NumProblems - Return no. of elements.\n" }, {NULL, NULL} /* sentinel */ }; /*@=fullinitblock@*/ |