[Zope-dev] Re: Grrr... Python Scripts

Evan Simpson evan@digicool.com
Mon, 7 May 2001 23:10:03 -0400


From: "Chris Withers" <chrisw@nipltd.com>
> Where should I import CatalogError from?
> And _please_ don't tell me I have to go through some convoluted security
process
> to do this :-(

# After adding security decls
from Catalog import CatalogError

Use the same security process as providing access to anything Zope doesn't
already expose.  We should expose exceptions like this by default, but we
haven't yet.  Sorry.

Cheers,

Evan @ digicool