[Zope] for ... in or aq_acquire arguments ?

Dieter Maurer dieter@handshake.de
Tue, 4 Feb 2003 19:03:54 +0100


D2 wrote at 2003-2-4 09:26 -0400:
 > Oh! so that means that the _getProductRegistryData is called (acquired)
 > from self and that ('zclasses') is passed as a parameter.
 > But why not using it that way : self._getProductRegistryData('zclasses) ?
Acquisition, by default, does not acquire names starting with "_".

You must explicitly call for acquisition in this case, with "aq_acquire".


Dieter