[Zope-Checkins] CVS: Products/PluginIndexes/DateIndex - DateIndex.py:1.8

Guido van Rossum guido@python.org
Tue, 1 Oct 2002 10:10:18 -0400


Update of /cvs-repository/Products/PluginIndexes/DateIndex
In directory cvs.zope.org:/tmp/cvs-serv27494/lib/python/Products/PluginIndexes/DateIndex

Modified Files:
	DateIndex.py 
Log Message:
Get rid of arguments named None.
This is a SyntaxWarning in Python 2.3 and will be an error in 2.4.

=== Products/PluginIndexes/DateIndex/DateIndex.py 1.7 => 1.8 ===
--- Products/PluginIndexes/DateIndex/DateIndex.py:1.7	Wed Aug 14 18:19:27 2002
+++ Products/PluginIndexes/DateIndex/DateIndex.py	Tue Oct  1 10:09:47 2002
@@ -84,7 +84,7 @@
         return returnStatus
 
 
-    def _apply_index( self, request, cid='', type=type, None=None ):
+    def _apply_index( self, request, cid='', type=type ):
         """Apply the index to query parameters given in the argument
 
         Normalize the 'query' arguments into integer values at minute