[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/PathIndex - PathIndex.py:1.32
Fred L. Drake, Jr.
fred@zope.com
Mon, 27 Jan 2003 13:59:20 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/PathIndex
In directory cvs.zope.org:/tmp/cvs-serv18080
Modified Files:
PathIndex.py
Log Message:
Make whitespace more reasonable.
=== Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py 1.31 => 1.32 ===
--- Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py:1.31 Thu Jan 23 12:46:27 2003
+++ Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py Mon Jan 27 13:59:17 2003
@@ -200,8 +200,8 @@
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 @@
if len(comps) == 0:
return IISet(self._unindex.keys())
- if level >=0:
+ if level >= 0:
results = []
for i in range(len(comps)):