[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/DateRangeIndex - DateRangeIndex.py:1.6.2.1

Andreas Jung andreas at andreas-jung.com
Thu Sep 18 10:16:44 EDT 2003


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

Modified Files:
      Tag: Zope-2_7-branch
	DateRangeIndex.py 
Log Message:
Merge from HEAD:

     - PathIndex and TopicIndex are now using a counter for the number
       of indexed objects instead of using a very expensive calculation
       based on the keys of their indexes. 


=== Zope/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py 1.6 => 1.6.2.1 ===
--- Zope/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py:1.6	Tue Jun 17 15:01:06 2003
+++ Zope/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py	Thu Sep 18 10:16:14 2003
@@ -221,7 +221,7 @@
         result = []
         IntType = type( 0 )
 
-        if not withValues:
+        if not withLengths:
 
             result.extend( t1.keys() )
             result.extend( t2.keys() )




More information about the Zope-Checkins mailing list