[Zope-Checkins] CVS: Packages/SearchIndex - UnIndex.py:1.32

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


Update of /cvs-repository/Packages/SearchIndex
In directory cvs.zope.org:/tmp/cvs-serv27494/lib/python/SearchIndex

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.

=== Packages/SearchIndex/UnIndex.py 1.31 => 1.32 ===
--- Packages/SearchIndex/UnIndex.py:1.31	Wed Aug 14 17:46:23 2002
+++ Packages/SearchIndex/UnIndex.py	Tue Oct  1 10:09:47 2002
@@ -254,7 +254,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.