[Zope] Re: How do I import packages/modules from Products?

Maik Jablonski maik.jablonski@uni-bielefeld.de
Wed, 12 Feb 2003 09:35:24 +0100


Josef Meile wrote:
>  > In itself, your idea is a good one. However to
>  > subclass ZCatalog I still have to import ZCatalog from
>  > Products, which is not in the path.

This should work... or you have a really broken Zope-Installation...;)

from OFS.Folder import Folder
from Products.ZCatalog.ZCatalog import ZCatalog

class CatalogFolder(Folder, ZCatalog):
	
	manage_options = Folder.manage_options + ZCatalog.manage_options


-mj