From: jbj Date: Fri, 11 Jun 2004 17:52:58 +0000 (+0000) Subject: - python: permit integer keys to ts.dbMatch(). X-Git-Tag: tznext/4.11.0.1.tizen20130304~6457 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99e34f26fb35e4dbaffa83d795ae2af1f500cb23;p=tools%2Flibrpm-tizen.git - python: permit integer keys to ts.dbMatch(). CVS patchset: 7306 CVS date: 2004/06/11 17:52:58 --- diff --git a/CHANGES b/CHANGES index 8a2b229..109bd15 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,8 @@ - lua embedded in rpmio. - use lua to identify desired selinux file context regexes. - add 'requires' and 'conflicts' tag aliases. + - python: return ds, not tuple, for ds iteration. + - python: permit integer keys to ts.dbMatch(). 4.3 -> 4.3.1: - fix: don't add leading space to %* argv expansion (#119059). diff --git a/python/rpmts-py.c b/python/rpmts-py.c index bfa21d7..a1b950a 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) {