diff roundup/backends/indexer_common.py @ 3076:2817a4db901d

Change indexer_common.search() to take a list of nodeids... ...instead of a dictionary (with random keys) from getHits(). This removes another Python 2.1 incompatility (using dict() and enumerate()) and removes the need for some code in indexer_rdbms.find().
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Wed, 05 Jan 2005 22:14:21 +0000
parents 1c063814d567
children 6da931530497
line wrap: on
line diff
--- a/roundup/backends/indexer_common.py	Wed Jan 05 22:10:28 2005 +0000
+++ b/roundup/backends/indexer_common.py	Wed Jan 05 22:14:21 2005 +0000
@@ -32,7 +32,7 @@
         propspec = {}     # used to do the klass.find
         for propname in designator_propname.values():
             propspec[propname] = {}   # used as a set (value doesn't matter)
-        for classname, nodeid, property in hits.values():
+        for classname, nodeid, property in hits:
             # skip this result if we don't care about this class/property
             if ignore.has_key((classname, property)):
                 continue

Roundup Issue Tracker: http://roundup-tracker.org/