diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/rpmdb-py.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/python/rpmdb-py.c b/python/rpmdb-py.c index e1da8274c..4921fcea1 100644 --- a/python/rpmdb-py.c +++ b/python/rpmdb-py.c @@ -312,14 +312,15 @@ rpmdbObject * rpmOpenDB(/*@unused@*/ PyObject * self, PyObject * args) { } /** + * @todo Permit header checks when doing --rebuilddb. */ PyObject * rebuildDB (/*@unused@*/ PyObject * self, PyObject * args) { - char * root = ""; + char * rootDir = ""; - if (!PyArg_ParseTuple(args, "s", &root)) return NULL; + if (!PyArg_ParseTuple(args, "s", &rootDir)) return NULL; - return Py_BuildValue("i", rpmdbRebuild(root)); + return Py_BuildValue("i", rpmdbRebuild(rootDir, NULL, NULL)); } /*@}*/ |