Commit a602b4de authored by Wichert Akkerman's avatar Wichert Akkerman

Merge r110877 to trunk

parent 254445ba
...@@ -118,7 +118,7 @@ class PathIndex(Persistent, SimpleItem): ...@@ -118,7 +118,7 @@ class PathIndex(Persistent, SimpleItem):
self._length.change(1) self._length.change(1)
for i in range(len(comps)): for i in range(len(comps)):
self._insertEntry(comps[i], docid, i) self.insertEntry(comps[i], docid, i)
self._unindex[docid] = path self._unindex[docid] = path
return 1 return 1
...@@ -228,7 +228,7 @@ class PathIndex(Persistent, SimpleItem): ...@@ -228,7 +228,7 @@ class PathIndex(Persistent, SimpleItem):
# Helper methods # Helper methods
def _insertEntry(self, comp, id, level): def insertEntry(self, comp, id, level):
""" Insert an entry. """ Insert an entry.
'comp' is an individual path component 'comp' is an individual path component
......
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