[Zope-Checkins] CVS: Zope27/lib/python/Products/PluginIndexes/common - UnIndex.py:1.12.16.1
Fred L. Drake, Jr.
fdrake@acm.org
Tue, 20 Aug 2002 16:17:04 -0400
Update of /cvs-repository/Zope27/lib/python/Products/PluginIndexes/common
In directory cvs.zope.org:/tmp/cvs-serv8729/PluginIndexes/common
Modified Files:
Tag: Zope-2_7-development-branch
UnIndex.py
Log Message:
Remove unnecessary aliasing. Python 2.3 issues a SyntaxWarning when binding
to the name None.
=== Zope27/lib/python/Products/PluginIndexes/common/UnIndex.py 1.12 => 1.12.16.1 ===
--- Zope27/lib/python/Products/PluginIndexes/common/UnIndex.py:1.12 Thu Apr 25 08:44:03 2002
+++ Zope27/lib/python/Products/PluginIndexes/common/UnIndex.py Tue Aug 20 16:17:03 2002
@@ -277,7 +277,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=''):
"""Apply the index to query parameters given in the request arg.
The request argument should be a mapping object.