Re: [Zope3-Users] Adding indexes to a Catalog tool subclass

2005-09-28 Thread Tom Dossis
Gary Poster wrote: On Sep 28, 2005, at 1:53 AM, Tom Dossis wrote: I can add a tool which is a simple subclass of Catalog. However if I try to add some index(es) in the constructor it fails with a NotYet error (see below). Is there a simple way to achieve this? Yes. Don't add the indexes

Re: [Zope3-Users] Adding indexes to a Catalog tool subclass

2005-09-28 Thread Gary Poster
On Sep 28, 2005, at 1:53 AM, Tom Dossis wrote: I can add a tool which is a simple subclass of Catalog. However if I try to add some index(es) in the constructor it fails with a NotYet error (see below). Is there a simple way to achieve this? Yes. Don't add the indexes with the constructo

[Zope3-Users] Adding indexes to a Catalog tool subclass

2005-09-27 Thread Tom Dossis
I can add a tool which is a simple subclass of Catalog. However if I try to add some index(es) in the constructor it fails with a NotYet error (see below). Is there a simple way to achieve this? from zope.app.catalog.interfaces import ICatalog from zope.app.catalog.catalog import Catalog from