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 )
- [Zope-dev] Turning acquisition off[Zope-dev] Turning acqu... morten
- [Zope-dev] Turning acquisition off selectively. Chris Withers
- Re: [Zope-dev] Turning acquisition off selectivel... Robin Becker
- Re: [Zope-dev] Turning acquisition off selectivel... Jim Fulton
- Re: [Zope-dev] Turning acquisition off select... matt
- Re: [Zope-dev] Turning acquisition off select... Toby Dickenson
- Re: [Zope-dev] Turning acquisition off se... Jim Fulton
- Re: [Zope-dev] Acquisition: context and c... Chris Withers
- Re: [Zope-dev] Acquisition wishlist :-) Chris Withers
- Re: [Zope-dev] Turning acquisition off Ken Manheimer
- Re: [Zope-dev] Turning acquisition off Chris Withers
- Re: [Zope-dev] Turning acquisition off Ken Manheimer
- Re: [Zope-dev] Turning acquisition off Stefan H. Holek
- Re: [Zope-dev] Turning acquisition off Chris Withers