[Zope-Checkins]
SVN: Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
indexSize(), numObjects()
Andreas Jung
andreas at andreas-jung.com
Mon Jan 31 14:28:57 EST 2005
Log message for revision 29000:
indexSize(), numObjects()
Changed:
U Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
-=-
Modified: Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py
===================================================================
--- Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py 2005-01-31 19:27:40 UTC (rev 28999)
+++ Zope/branches/ajung-indexes-desuxing-branch/lib/python/Products/PluginIndexes/DateRangeIndex/DateRangeIndex.py 2005-01-31 19:28:55 UTC (rev 29000)
@@ -312,10 +312,13 @@
#
security.declareProtected( VIEW_PERMISSION , 'numObjects' )
def numObjects( self ):
- """
- """
+ """ """
return len( self._unindex )
+ def indexSize(self):
+ """ """
+ return len(self)
+
#
# Helper functions.
#
More information about the Zope-Checkins
mailing list