[Zope-Checkins] CVS: Zope2 - PathIndex.py:1.1.2.15
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Mon, 21 May 2001 09:54:03 -0400
Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/PathIndex
In directory serenade:/tmp/cvs-serv13242/PathIndex
Modified Files:
Tag: ajung-dropin-registry
PathIndex.py
Log Message:
cleanup
--- Updated File PathIndex.py in package Zope2 --
--- PathIndex.py 2001/05/21 13:42:50 1.1.2.14
+++ PathIndex.py 2001/05/21 13:54:03 1.1.2.15
@@ -92,9 +92,9 @@
from OFS.History import Historical
from OFS.SimpleItem import SimpleItem
-
-from BTrees.IOBTree import IOBTree,IOSet
+from BTrees.IOBTree import IOBTree
from BTrees.OOBTree import OOBTree,OOSet
+from BTrees.OIBTree import OIBTree
from BTrees.IIBTree import IISet,difference,intersection,union
import re,exceptions
@@ -149,7 +149,7 @@
"""
if self._index.has_key(comp)==0:
- self._index[comp] = OOBTree()
+ self._index[comp] = IOBTree()
if self._index[comp].has_key(level)==0:
self._index[comp][level] = IISet()
@@ -212,8 +212,6 @@
print
-
-
def splitPath(self,path,obj=None):
""" split physical path of object. If the object has