[Zope-Checkins]
CVS: Zope/lib/python/Products/PluginIndexes/PathIndex
- PathIndex.py:1.40
Andreas Jung
andreas at andreas-jung.com
Sat Jan 24 10:48:39 EST 2004
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/PathIndex
In directory cvs.zope.org:/tmp/cvs-serv20439
Modified Files:
PathIndex.py
Log Message:
removed deprecation warning (which is raised also in util.py)
=== Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py 1.39 => 1.40 ===
--- Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py:1.39 Sun Nov 9 14:02:23 2003
+++ Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Sat Jan 24 10:48:38 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