[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/subscribers.py
simplify ; -)
Chris Withers
chris at simplistix.co.uk
Mon May 1 10:12:48 EDT 2006
Log message for revision 67797:
simplify ;-)
Changed:
U Zope/trunk/lib/python/OFS/subscribers.py
-=-
Modified: Zope/trunk/lib/python/OFS/subscribers.py
===================================================================
--- Zope/trunk/lib/python/OFS/subscribers.py 2006-05-01 13:55:44 UTC (rev 67796)
+++ Zope/trunk/lib/python/OFS/subscribers.py 2006-05-01 14:12:47 UTC (rev 67797)
@@ -18,7 +18,6 @@
"""
import warnings
-import sys
from logging import getLogger
from Acquisition import aq_base
@@ -153,7 +152,7 @@
except ConflictError:
raise
except:
- LOG.error('_delObject() threw', exc_info=sys.exc_info())
+ LOG.error('_delObject() threw', exc_info=True)
# In debug mode when non-Manager, let exceptions propagate.
if getConfiguration().debug_mode:
if not getSecurityManager().getUser().has_role('Manager'):
More information about the Zope-Checkins
mailing list