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


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

Reply via email to