[Zope-Checkins]
CVS: Zope/lib/python/Products/PluginIndexes/PathIndex
- PathIndex.py:1.35.2.5
Andreas Jung
andreas at andreas-jung.com
Sat Jan 24 10:49:33 EST 2004
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/PathIndex
In directory cvs.zope.org:/tmp/cvs-serv20675
Modified Files:
Tag: Zope-2_7-branch
PathIndex.py
Log Message:
removed deprecation warning (which is already raised in util.py)
=== Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py 1.35.2.4 => 1.35.2.5 ===
--- Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py:1.35.2.4 Sun Nov 9 14:03:19 2003
+++ Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Sat Jan 24 10:49:32 2004
@@ -13,7 +13,6 @@
__version__ = '$Id$'
-import warnings
from types import StringType, ListType, TupleType
from Globals import Persistent, DTMLFile
@@ -222,12 +221,6 @@
record = parseIndexRequest(request,self.id,self.query_options)
if record.keys==None: return None
-
- if request.has_key('%s_level' % cid):
- warnings.warn("The usage of the '%s_level' "
- "is no longer recommended.\n"
- "Please use a mapping object and the "
- "'level' key to specify the operator." % cid)
level = record.get("level",0)
operator = record.get('operator',self.useOperator).lower()
More information about the Zope-Checkins
mailing list