[Zope-DB] catching sql method exceptions inside python scripts

Chris Withers lists at simplistix.co.uk
Mon Apr 5 06:15:38 EDT 2004

Jim Abramson wrote:

> (2.6.1)
> Module Shared.DC.ZRDB.DA, line 399, in __call__
> 399:        try: DB__=dbc()
> 400:        except: raise 'Database Error', (
> 401:            '%s is not connected to a database' % self.id)


I'm currently campaigning on zope-dev to have that particular turd revoked ;-)

Check the list archives, no one has raised any valid concerns so far, so I'll 
make the change as soon sa I get the time...



Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk

More information about the Zope-DB mailing list