[Zope-Coders] Re: [Zope-CVS] CVS: Packages/Startup - datatypes.py:1.3 handlers.py:1.3
main.py:1.2 zopeschema.xml:1.3
Fred L. Drake, Jr.
fred@zope.com
Fri, 3 Jan 2003 09:57:34 -0500
Shane Hathaway writes:
> Chris McDonough wrote:
> > + formatter = Factory('logging.Formatter', None,
> > + *[format, dateformat], **{})
>
> Just out of curiosity, is there any difference between the above and...
>
> formatter = Factory('logging.Formatter', None, format, dateformat)
Nothing, except the later is easier to read. That code should be
changed.
-Fred
--
Fred L. Drake, Jr. <fred at zope.com>
PythonLabs at Zope Corporation