[Zope] Error Value: global name 'has' is not defined

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Fri, 14 Sep 2001 12:26:17 +0400


On Fri, Sep 14, 2001 at 08:33:19AM +0200, Joachim Schmitz wrote:
> this is a bug in Zope-2.4.1 final, I run into it using the ZSyncer-product
> and Steve Alexander found it. Here is the fix:
> 
> in lib/python/OFS/Traversable.py
> 
> after line 144:
> 
>         get=getattr
> insert:
> 	has=hasattr

   ZCollector?

Oleg.
---- 
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.