Re: Error in Shared.ZRDB.Connection.__setstate__ in 2.9.4
Chris Withers <[email protected]>
| Newsgroups | gmane.comp.web.zope.database |
|---|---|
| Message-ID | <[email protected]> |
Charlie Clark wrote:
> While I couldn't find any trace in the collector, I did see that this
> has already been corrected in Zope 2.10.0
>
> Is it still worth submitting the error?
>
> def __setstate__(self, state):
> Globals.Persistent.__setstate__(self, state)
> if self.connection_string:
> try: self.connect(self.connection_string)
> except:
> logger.error('Error connecting to relational database.',
> exc_info=exc_info())
And this is STILL wrong... FFS...
How hard is "exc_info=True" to grasp as a concept?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk