summaryrefslogtreecommitdiff
path: root/python/rpmts-py.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-06-11 17:52:58 +0000
committerjbj <devnull@localhost>2004-06-11 17:52:58 +0000
commit99e34f26fb35e4dbaffa83d795ae2af1f500cb23 (patch)
tree91648dcf1478c88126b692e20da4c5911224f2d4 /python/rpmts-py.c
parent3186a9ba73b093c3d77f6f041163c3bfc8ceabad (diff)
downloadlibrpm-tizen-99e34f26fb35e4dbaffa83d795ae2af1f500cb23.tar.gz
librpm-tizen-99e34f26fb35e4dbaffa83d795ae2af1f500cb23.tar.bz2
librpm-tizen-99e34f26fb35e4dbaffa83d795ae2af1f500cb23.zip
- python: permit integer keys to ts.dbMatch().
CVS patchset: 7306 CVS date: 2004/06/11 17:52:58
Diffstat (limited to 'python/rpmts-py.c')
-rw-r--r--python/rpmts-py.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/rpmts-py.c b/python/rpmts-py.c
index bfa21d737..a1b950acd 100644
--- a/python/rpmts-py.c
+++ b/python/rpmts-py.c
@@ -1332,6 +1332,7 @@ fprintf(stderr, "*** rpmts_Match(%p) ts %p\n", s, s->ts);
}
/* XXX If not already opened, open the database O_RDONLY now. */
+ /* XXX FIXME: lazy default rdonly open also done by rpmtsInitIterator(). */
if (s->ts->rdb == NULL) {
int rc = rpmtsOpenDB(s->ts, O_RDONLY);
if (rc || s->ts->rdb == NULL) {