[Zope-Coders] Re: [Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/PathIndex - PathIndex.py:1.15.16.4

Andreas Jung andreas@andreas-jung.com
Tue, 24 Sep 2002 13:25:04 +0100


Nope, since there are no specific tests that test
the interaction between indexes and the ZCatalog.

-aj

--On Dienstag, 24. September 2002 13:20 +0100 Chris Withers 
<chrisw@nipltd.com> wrote:

> Perhaps a unit test would have highlighted this before it was checked in?
>
> Chris
>
> Andreas Jung wrote:
>> Update of
>> /cvs-repository/Zope/lib/python/Products/PluginIndexes/PathIndex In
>> directory
>> cvs.zope.org:/tmp/cvs-serv26557/lib/python/Products/PluginIndexes/PathIn
>> dex
>>
>> Modified Files:
>>       Tag: Zope-2_5-branch
>> 	PathIndex.py
>> Log Message:
>> Collector #593: fix for the fix: we must return an IISet() instance
>> instead of the complete IOBTree
>>
>>
>> === Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py
>> 1.15.16.3 => 1.15.16.4 === ---
>> Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py:1.15.16.3
>> 	Mon Sep 23 12:43:34 2002 +++
>> Zope/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py	Tue Sep 24
>> 07:26:27 2002 @@ -206,7 +206,7 @@
>>          comps = self.splitPath(path)
>>
>>          if len(comps) == 0:
>> -            return self._unindex
>> +            return IISet(self._unindex.keys())
>>
>>          if level >=0:
>>
>>
>>
>> _______________________________________________
>> Zope-Checkins maillist  -  Zope-Checkins@zope.org
>> http://lists.zope.org/mailman/listinfo/zope-checkins
>>
>>
>
>
>