[CMF-checkins] CVS: CMF/CMFActionIcons/tests -
test_ActionIconsTool.py:1.4.2.2 test_all.py:1.2.2.2
Tres Seaver
tseaver at palladion.com
Fri Jul 8 09:25:02 EDT 2005
Update of /cvs-repository/CMF/CMFActionIcons/tests
In directory cvs.zope.org:/tmp/cvs-serv4941/CMFActionIcons/tests
Modified Files:
Tag: CMF-1_5-branch
test_ActionIconsTool.py test_all.py
Log Message:
- Remove bare except in BBB imports.
=== CMF/CMFActionIcons/tests/test_ActionIconsTool.py 1.4.2.1 => 1.4.2.2 ===
--- CMF/CMFActionIcons/tests/test_ActionIconsTool.py:1.4.2.1 Fri Jul 8 08:28:29 2005
+++ CMF/CMFActionIcons/tests/test_ActionIconsTool.py Fri Jul 8 09:24:31 2005
@@ -19,7 +19,7 @@
import Testing
try:
import Zope2
-except: # BBB: for Zope 2.7
+except ImportError: # BBB: for Zope 2.7
import Zope as Zope2
Zope2.startup()
=== CMF/CMFActionIcons/tests/test_all.py 1.2.2.1 => 1.2.2.2 ===
--- CMF/CMFActionIcons/tests/test_all.py:1.2.2.1 Fri Jul 8 08:28:29 2005
+++ CMF/CMFActionIcons/tests/test_all.py Fri Jul 8 09:24:31 2005
@@ -19,7 +19,7 @@
import Testing
try:
import Zope2
-except: # BBB: for Zope 2.7
+except ImportError: # BBB: for Zope 2.7
import Zope as Zope2
Zope2.startup()
More information about the CMF-checkins
mailing list