[Zope] zshell question: find vs ZopeFind

Jean Jordaan jean@upfrontsystems.co.za
Thu, 13 Jun 2002 14:46:00 +0200


Hi there

Does anyone know why this works fine using zshell:

  find Control_Panel --type "DataSkin Attribute Property Sheet"

while this (from a Script (Python)) returns nothing?

  objs = context.ZopeFind( 
    context.Control_Panel.Products.ZCrm,
    obj_metatypes=['DataSkin Attribute Property Sheet', ],
    search_sub=1)

-- 
Jean Jordaan
Upfront Systems                         http://www.upfrontsystems.co.za