[Zope-dev] AW: [Summary] Caching prob with AHCM and headers

Chris Withers chrisw at nipltd.com
Mon Sep 15 08:14:51 EDT 2003


Fred Yankowski wrote:
> But I can't see how to create more restrictive Predicate.  My initial
> attempt was to set Predicate like so:
> 
> 	python: content.meta_type == 'Filesystem Image'

Do you have any content with this metatype?

Try this script:

for brain in context.portal_catalog():
    obj = brain.getObject()
    print "metatype:",obj.meta_type
    print "portal_type:",obj.portal_type
return printed

cheers,

Chris




More information about the Zope-Dev mailing list