On Wed, 6 Dec 2000 [EMAIL PROTECTED] wrote:

> Does anyone know how to disable acqusition ?
> 
> That is, with a simple method, and not disabling the Acqusition class,
> something like self.aq_disabled('attribute') .

I believe one way is self.aq_base['attribute'].  aq_base gets the
unwrapped object (what got __of__'ed).  If you're not sure the thing
is acquisition-wrapped in the first place, you'd probably want to check
for the existing of the 'aq_base' attribute before using it...

Ken Manheimer
[EMAIL PROTECTED]


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to