Update of /cvs-repository/Products/DCWorkflow/tests
In directory cvs.zope.org:/tmp/cvs-serv4941/DCWorkflow/tests
Modified Files:
Tag: CMF-1_5-branch
test_DCWorkflow.py test_all.py test_roles.py
Log Message:
- Remove bare except in BBB imports.
=== Products/DCWorkflow/tests/test_DCWorkflow.py 1.4.2.3 => 1.4.2.4 ===
--- Products/DCWorkflow/tests/test_DCWorkflow.py:1.4.2.3 Fri Jul 8
08:28:31 2005
+++ Products/DCWorkflow/tests/test_DCWorkflow.py Fri Jul 8 09:24:33 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()
=== Products/DCWorkflow/tests/test_all.py 1.9.2.1 => 1.9.2.2 ===
--- Products/DCWorkflow/tests/test_all.py:1.9.2.1 Fri Jul 8 08:28:31 2005
+++ Products/DCWorkflow/tests/test_all.py Fri Jul 8 09:24:33 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()
=== Products/DCWorkflow/tests/test_roles.py 1.5.2.1 => 1.5.2.2 ===
--- Products/DCWorkflow/tests/test_roles.py:1.5.2.1 Fri Jul 8 08:28:31 2005
+++ Products/DCWorkflow/tests/test_roles.py Fri Jul 8 09:24:33 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-checkins mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/cmf-checkins