[Zope-dev] Re: error adding specialist

Steve Alexander steve@cat-box.net
Tue, 11 Jul 2000 15:34:38 +0100


"Phillip J. Eby" wrote:
> 
> I found this one on Saturday.  The problem is that Zope recently changed
> the way constructors bind to their factory objects, and the "self" that
> ZPatterns is providing to the constructors is no longer needed.  I've
> changed ZPatterns to fix this (still maintaining 2.1.x compatibility in the
> process) and a few other reported and unreported bugs, but haven't had time
> to issue a new release just yet.  I'm up to my neck in "regular job" work
> for the next few days. 

My quick "2.2 only" fix is to change line 436 of PlugIns.py to this:

   return apply(getattr(product, method), args, kwargs)


> Hopefully I'll have a release out before the ZPatterns chat Friday, though.

Great. 

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net