[Checkins] SVN: Sandbox/shane/republish/zope.publisher/s Removed requirement for zope.exceptions because the code that was
Shane Hathaway
shane at hathawaymix.org
Sun Feb 8 02:50:48 EST 2009
Log message for revision 96231:
Removed requirement for zope.exceptions because the code that was
using it was always overridden. Also removed stale DEPENDENCIES.cfg.
Changed:
U Sandbox/shane/republish/zope.publisher/setup.py
D Sandbox/shane/republish/zope.publisher/src/zope/publisher/DEPENDENCIES.cfg
U Sandbox/shane/republish/zope.publisher/src/zope/publisher/base.py
-=-
Modified: Sandbox/shane/republish/zope.publisher/setup.py
===================================================================
--- Sandbox/shane/republish/zope.publisher/setup.py 2009-02-08 07:34:34 UTC (rev 96230)
+++ Sandbox/shane/republish/zope.publisher/setup.py 2009-02-08 07:50:47 UTC (rev 96231)
@@ -43,7 +43,6 @@
install_requires=['setuptools',
'zope.component',
'zope.event',
- 'zope.exceptions',
'zope.i18n',
'zope.interface',
'zope.location',
Deleted: Sandbox/shane/republish/zope.publisher/src/zope/publisher/DEPENDENCIES.cfg
===================================================================
--- Sandbox/shane/republish/zope.publisher/src/zope/publisher/DEPENDENCIES.cfg 2009-02-08 07:34:34 UTC (rev 96230)
+++ Sandbox/shane/republish/zope.publisher/src/zope/publisher/DEPENDENCIES.cfg 2009-02-08 07:50:47 UTC (rev 96231)
@@ -1,11 +0,0 @@
-zope.component
-zope.event
-zope.exceptions
-zope.i18n
-zope.interface
-zope.location
-zope.proxy
-zope.security
-zope.testing
-zope.deprecation
-zope.deferredimport
Modified: Sandbox/shane/republish/zope.publisher/src/zope/publisher/base.py
===================================================================
--- Sandbox/shane/republish/zope.publisher/src/zope/publisher/base.py 2009-02-08 07:34:34 UTC (rev 96230)
+++ Sandbox/shane/republish/zope.publisher/src/zope/publisher/base.py 2009-02-08 07:50:47 UTC (rev 96231)
@@ -24,7 +24,6 @@
from zope.interface import implements, providedBy
from zope.interface.common.mapping import IReadMapping, IEnumerableMapping
-from zope.exceptions.exceptionformatter import print_exception
from zope.publisher.interfaces import IPublication, IHeld
from zope.publisher.interfaces import NotFound, DebugError, Unauthorized
@@ -53,10 +52,7 @@
def handleException(self, exc_info):
'See IPublisherResponse'
- f = StringIO()
- print_exception(
- exc_info[0], exc_info[1], exc_info[2], 100, f)
- self.setResult(f.getvalue())
+ self.setResult('%s: %s' % exc_info[:2])
def internalError(self):
'See IPublisherResponse'
More information about the Checkins
mailing list