Commit 38dbecc8 authored by Martijn Pieters's avatar Martijn Pieters

bviously the level < 0 case has been implemented before the index was merged

into CVS trunk 8 years ago..
parent 7e12d975
......@@ -161,7 +161,7 @@ class PathIndex(Persistent, SimpleItem):
a tuple (path,level).
level >= 0 starts searching at the given level
level < 0 not implemented yet
level < 0 match at *any* level
"""
if isinstance(path, str):
level = default_level
......
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