Chris Withers wrote:
>
> Shane Hathaway wrote:
> >
> > when a product has syntax errors. One of the first things I did at
> > Digital Creations was make sure that got fixed. :-)
>
> Does this mean this bit from your average product's __init__.py isn't
> neeeded anymore?
>
> except: # If we can't register, complain!
> import sys, traceback, string
> type, val, tb = sys.exc_info()
> sys.stderr.write(string.join(traceback.format_exception(type,
> val, tb), ''))
> del type, val, tb
That's right. As long as you're in -D mode or you have the event log
going somewhere, you'll see these kind of exceptions.
Shane
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )