[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/PathIndex - PathIndex.py:1.18

Andreas Jung andreas@digicool.com
Thu, 11 Apr 2002 15:26:41 -0400


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/PathIndex
In directory cvs.zope.org:/tmp/cvs-serv30326/lib/python/Products/PluginIndexes/PathIndex

Modified Files:
	PathIndex.py 
Log Message:
PathIndex returned wrong number of indexed objects


=== Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py 1.17 => 1.18 ===
     def numObjects(self):
         """ return the number of indexed objects"""
-
-        x = IISet()
-        for k,v in self._index.items():
-            for level,ids in v.items():
-                x = union(x,ids)
-
-        return len(x)
+        return len(self._unindex)
 
 
     def keys(self):