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
cabc611e
Commit
cabc611e
authored
Jan 27, 2003
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make whitespace more reasonable.
parent
ed4f02a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
+4
-4
No files found.
lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
View file @
cabc611e
...
...
@@ -11,7 +11,7 @@
#
##############################################################################
__version__
=
'$Id: PathIndex.py,v 1.3
1 2003/01/23 17:46:27 andreasjung
Exp $'
__version__
=
'$Id: PathIndex.py,v 1.3
2 2003/01/27 18:59:17 fdrake
Exp $'
from
Products.PluginIndexes
import
PluggableIndex
from
Products.PluginIndexes.common.util
import
parseIndexRequest
...
...
@@ -200,8 +200,8 @@ class PathIndex(Persistent, Implicit, SimpleItem):
relative URL or a part of a relative URL or
a tuple (path,level).
level
>=
0 starts searching at the given level
level
<0
not implemented yet
level
>=
0 starts searching at the given level
level
< 0
not implemented yet
"""
if
isinstance
(
path
,
StringType
):
...
...
@@ -215,7 +215,7 @@ class PathIndex(Persistent, Implicit, SimpleItem):
if
len
(
comps
)
==
0
:
return
IISet
(
self
.
_unindex
.
keys
())
if
level
>=
0
:
if
level
>=
0
:
results
=
[]
for
i
in
range
(
len
(
comps
)):
...
...
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