[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/PathIndex - PathIndex.py:1.25.6.1

Andreas Jung andreas@digicool.com
Mon, 23 Sep 2002 12:50:08 -0400


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/PathIndex
In directory cvs.zope.org:/tmp/cvs-serv6542/lib/python/Products/PluginIndexes/PathIndex

Modified Files:
      Tag: Zope-2_6-branch
	PathIndex.py 
Log Message:
Collector #583: backport from trunk

=== Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py 1.25 => 1.25.6.1 ===
--- Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py:1.25	Wed Aug 14 18:19:31 2002
+++ Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py	Mon Sep 23 12:50:08 2002
@@ -202,6 +202,8 @@
 
         comps = self.splitPath(path)
 
+        if len(comps) == 0:
+            return self._unindex
 
         if level >=0: