Commit 21f02d78 authored by Martijn Pieters's avatar Martijn Pieters

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

Obviously the level < 0 case has been implemented before the index was merged into CVS trunk 8 years ago..
parent 60badbbd
...@@ -158,7 +158,7 @@ class PathIndex(Persistent, SimpleItem): ...@@ -158,7 +158,7 @@ class PathIndex(Persistent, SimpleItem):
a tuple (path,level). a tuple (path,level).
level >= 0 starts searching at the given level level >= 0 starts searching at the given level
level < 0 not implemented yet level < 0 match at *any* level
""" """
if isinstance(path, str): if isinstance(path, str):
level = default_level 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