Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
975df1de
Commit
975df1de
authored
Jan 24, 2004
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed deprecation warning (which is raised also in util.py)
parent
c0cab2db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
+1
-8
No files found.
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
View file @
975df1de
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment