7 Feb
2003
7 Feb
'03
9:49 a.m.
ObjectManagers define 'isAnObjectManager=1'. You could do something like: from Acquisition import aq_base def is_folderish(object): return getattr(aq_base(object), 'isAnObjectManager', 0) HTH, Stefan --On Donnerstag, 06. Februar 2003 21:18 +0100 Gilles Lenfant <gilles@pilotsystems.net> wrote:
Hi,
All's in the title ! is there something like "ob.isFolderish()" that ignores acquisition ?
Thanks in advance
--Gilles
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/