[Zope-Checkins] CVS: Zope3/lib/python/Zope/Configuration - __init__.py:1.1.2.8
Guido van Rossum
guido@python.org
Tue, 28 May 2002 10:35:38 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Configuration
In directory cvs.zope.org:/tmp/cvs-serv16109
Modified Files:
Tag: Zope-3x-branch
__init__.py
Log Message:
Make the lines of dashes less than 80 characters.
=== Zope3/lib/python/Zope/Configuration/__init__.py 1.1.2.7 => 1.1.2.8 ===
# Use the ExceptionFormatter to provide XMLconfig debug info
from Zope.Exceptions.ExceptionFormatter import format_exception
- exc_info = ['='*80, '\nZope Configuration Error\n', '='*80, '\n'] \
+ exc_info = ['='*72, '\nZope Configuration Error\n', '='*72, '\n'] \
+ apply(format_exception, sys.exc_info())
sys.stderr.write(''.join(exc_info))
sys.exit(0) # Fatal config error