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

Brian Lloyd brian@digiciool.com
Wed, 14 Mar 2001 14:04:42 -0500 (EST)


Update of /cvs-repository/Zope2/lib/python/SearchIndex
In directory korak:/home/brian/temp/zope-23-branch/lib/python/SearchIndex

Modified Files:
      Tag: zope-2_3-branch
	UnIndex.py 
Log Message:
merged a missed change from trunk



--- Updated File UnIndex.py in package Zope2 --
--- UnIndex.py	2001/01/26 19:03:05	1.23.2.2
+++ UnIndex.py	2001/03/14 19:04:42	1.23.2.3
@@ -173,10 +173,10 @@
         return self._unindex.keys()
 
 
-    def getEntryForObject(self, documentId, default=None):
+    def getEntryForObject(self, documentId, default=MV):
         """Takes a document ID and returns all the information we have
         on that specific object."""
-        if default is None:
+        if default is not MV:
             return self._unindex.get(documentId, default)
         else:
             return self._unindex.get(documentId)