[Checkins] SVN: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py wrong logger argument

Stefan H. Holek stefan at epy.co.at
Wed Oct 4 10:30:43 EDT 2006


This is still wrong, it should be exc_info=True.

Stefan

On 4. Okt 2006, at 14:49, Andreas Jung wrote:

> Log message for revision 70527:
>   wrong logger argument
>
>
> Changed:
>   U   Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py
>
> -=-
> Modified: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py
> ===================================================================
> --- Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py	 
> 2006-10-04 12:38:01 UTC (rev 70526)
> +++ Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py	 
> 2006-10-04 12:49:01 UTC (rev 70527)
> @@ -71,7 +71,7 @@
>              try: self.connect(self.connection_string)
>              except:
>                  logger.error('Error connecting to relational  
> database.',
> -                             error=exc_info())
> +                             exc_info=exc_info())
>
>      def title_and_id(self):
>          s=Connection.inheritedAttribute('title_and_id')(self)
>

--
Anything that, in happening, causes something else to happen,
causes something else to happen.  --Douglas Adams




More information about the Checkins mailing list