[Zope3-checkins] SVN: Zope3/trunk/src/zope/component/globalregistry.py Remove bare exception (sorry!)

Baiju M baiju.m.mail at gmail.com
Wed Mar 28 02:24:47 EDT 2007


Log message for revision 73813:
  Remove bare exception (sorry!)
  

Changed:
  U   Zope3/trunk/src/zope/component/globalregistry.py

-=-
Modified: Zope3/trunk/src/zope/component/globalregistry.py
===================================================================
--- Zope3/trunk/src/zope/component/globalregistry.py	2007-03-28 06:12:47 UTC (rev 73812)
+++ Zope3/trunk/src/zope/component/globalregistry.py	2007-03-28 06:24:47 UTC (rev 73813)
@@ -140,7 +140,7 @@
 
 try:
     from zope.testing.cleanup import addCleanUp
-except:
+except ImportError:
     pass
 else:
     addCleanUp(lambda: base.__init__('base'))



More information about the Zope3-Checkins mailing list