[Zope-Checkins] CVS: Products/PluginIndexes/common - UnIndex.py:1.15

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


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

Modified Files:
	UnIndex.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/common/UnIndex.py 1.14 => 1.15 ===
--- Products/PluginIndexes/common/UnIndex.py:1.14	Wed Aug 14 18:19:34 2002
+++ Products/PluginIndexes/common/UnIndex.py	Tue Oct  1 10:09:47 2002
@@ -278,7 +278,7 @@
             LOG('UnIndex', ERROR, 'Attempt to unindex nonexistent document'
                 ' with id %s' % documentId)
 
-    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 request arg.
 
         The request argument should be a mapping object.