[Zope-dev] [Fwd: ZCatalog.. Again.. I know..]

Michel Pelletier michel@digicool.com
Wed, 24 May 2000 10:34:48 -0700


Chris Withers wrote:
> 
> Itamar Shtull-Trauring wrote:
> > Last I heard, this bug fix did NOT fix the key-error problem.  We are still
> > getting lots of them (but it may have been fixed since in CVS.  Michel?)
> 
> This is weird... the bit of code in question was:
> lib/python/SearchIndex/Lexicon.py line 132:
> 
> 
> However, in the CVS I see it is now:
>         else:
>             if not hasattr(self, 'counter'):
>                 self.counter = 0
>             self._lexicon[intern(word)] = self.counter
>             self.counter = self.counter + 1
>             return self.counter - 1

???

I'm looking into this right now...

-- 

-Michel Pelletier

http://www.zope.org/Members/michel/MyWiki

Visit WikiCentral for the latest Zen:

http://www.zope.org/Members/WikiCentral