summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-07-24 16:21:23 +0000
committerjbj <devnull@localhost>2002-07-24 16:21:23 +0000
commitede1f445e09895daee8bce8a2ddc9200839ee5de (patch)
tree66738dfcfd86d2c355b5f2ead53fb556999c2e71 /python
parent6540da425629bf45020047214b81e156c62c7d7b (diff)
downloadlibrpm-tizen-ede1f445e09895daee8bce8a2ddc9200839ee5de.tar.gz
librpm-tizen-ede1f445e09895daee8bce8a2ddc9200839ee5de.tar.bz2
librpm-tizen-ede1f445e09895daee8bce8a2ddc9200839ee5de.zip
- verify signatures/digests retrieved through rpmdbNextIterator().
- imbue %ghost with missingok attribute with --verify (#68933). CVS patchset: 5568 CVS date: 2002/07/24 16:21:23
Diffstat (limited to 'python')
-rw-r--r--python/rpmdb-py.c7
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));
}
/*@}*/