Commit 975df1de authored by Andreas Jung's avatar Andreas Jung

removed deprecation warning (which is raised also in util.py)

parent c0cab2db
......@@ -11,9 +11,8 @@
#
##############################################################################
__version__ = '$Id: PathIndex.py,v 1.39 2003/11/09 19:02:23 andreasjung Exp $'
__version__ = '$Id: PathIndex.py,v 1.40 2004/01/24 15:48:38 andreasjung Exp $'
import warnings
from types import StringType, ListType, TupleType
from Globals import Persistent, DTMLFile
......@@ -223,12 +222,6 @@ class PathIndex(Persistent, SimpleItem):
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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment