From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of seb
I've got a method which recurses through folders, copying their contents
unless they are of a certain type.
Is there a way of checking the base classes of an object from python?
Your description is a bit vague, but here goes, when calling objectValues()
you can give it a parameter:
objectValues('Folder')
or for several "Meta Types":
objectValues(['Folder', 'Image'])
Regards
Max M. W. Rasmussen,Denmark. New Media Director
private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
-
Specialization is for insects. - Robert A. Heinlein
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )