[Zope-Checkins] CVS: Zope2 - UnIndex.py:1.27

chrism@serenade.digicool.com chrism@serenade.digicool.com
Fri, 16 Mar 2001 03:47:39 -0500


Update of /cvs-repository/Zope2/lib/python/SearchIndex
In directory serenade:/slab/home/chrism/sandboxes/TrunkBranch/lib/python/SearchIndex

Modified Files:
	UnIndex.py 
Log Message:
fixed keyForDocument bug which *called* _unindex instead of indexing it.


--- Updated File UnIndex.py in package Zope2 --
--- UnIndex.py	2001/03/15 13:16:24	1.26
+++ UnIndex.py	2001/03/16 08:47:38	1.27
@@ -438,7 +438,7 @@
             return tuple(rl)
 
     def keyForDocument(self, id):
-        return self._unindex(id)
+        return self._unindex[id]
 
     def items(self): return self._index.items()