- python: permit integer keys to ts.dbMatch().
authorjbj <devnull@localhost>
Fri, 11 Jun 2004 17:52:58 +0000 (17:52 +0000)
committerjbj <devnull@localhost>
Fri, 11 Jun 2004 17:52:58 +0000 (17:52 +0000)
CVS patchset: 7306
CVS date: 2004/06/11 17:52:58

CHANGES
python/rpmts-py.c

diff --git a/CHANGES b/CHANGES
index 8a2b229..109bd15 100644 (file)
--- 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).
index bfa21d7..a1b950a 100644 (file)
@@ -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) {