[CMF-checkins] CVS: Products/CMFCore/tests -
test_ActionInformation.py:1.10.2.7
test_ActionProviderBase.py:1.17.2.3 test_ActionsTool.py:1.17.2.3
test_CachingPolicyManager.py:1.12.14.5 test_CatalogTool.py:1.7.14.5
test_ContentTypeRegistry.py:1.11.14.3
test_DirectoryView.py:1.19.10.7
test_DiscussionTool.py:1.6.2.3 test_DynamicType.py:1.6.14.3
test_Expression.py:1.6.14.2 test_FSFile.py:1.8.14.5
test_FSImage.py:1.10.14.5 test_FSMetadata.py:1.6.14.5
test_FSPageTemplate.py:1.14.14.6
test_FSPythonScript.py:1.8.14.4 test_FSSecurity.py:1.7.14.4
test_FSZSQLMethod.py:1.1.2.4 test_MemberDataTool.py:1.5.14.4
test_MembershipTool.py:1.10.14.4 test_OpaqueItems.py:1.9.2.3
test_RegistrationTool.py:1.4.14.4 test_SkinsTool.py:1.5.14.4
test_TypesTool.py:1.32.2.7 test_URLTool.py:1.7.14.3
test_UndoTool.py:1.4.14.3 test_WorkflowTool.py:1.10.2.5
test_all.py:1.28.2.2 test_utils.py:1.4.2.2
Tres Seaver
tseaver at palladion.com
Fri Jul 8 09:25:03 EDT 2005
Update of /cvs-repository/Products/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv4941/CMFCore/tests
Modified Files:
Tag: CMF-1_5-branch
test_ActionInformation.py test_ActionProviderBase.py
test_ActionsTool.py test_CachingPolicyManager.py
test_CatalogTool.py test_ContentTypeRegistry.py
test_DirectoryView.py test_DiscussionTool.py
test_DynamicType.py test_Expression.py test_FSFile.py
test_FSImage.py test_FSMetadata.py test_FSPageTemplate.py
test_FSPythonScript.py test_FSSecurity.py test_FSZSQLMethod.py
test_MemberDataTool.py test_MembershipTool.py
test_OpaqueItems.py test_RegistrationTool.py test_SkinsTool.py
test_TypesTool.py test_URLTool.py test_UndoTool.py
test_WorkflowTool.py test_all.py test_utils.py
Log Message:
- Remove bare except in BBB imports.
=== Products/CMFCore/tests/test_ActionInformation.py 1.10.2.6 => 1.10.2.7 ===
--- Products/CMFCore/tests/test_ActionInformation.py:1.10.2.6 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_ActionInformation.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()
=== Products/CMFCore/tests/test_ActionProviderBase.py 1.17.2.2 => 1.17.2.3 ===
--- Products/CMFCore/tests/test_ActionProviderBase.py:1.17.2.2 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_ActionProviderBase.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()
=== Products/CMFCore/tests/test_ActionsTool.py 1.17.2.2 => 1.17.2.3 ===
--- Products/CMFCore/tests/test_ActionsTool.py:1.17.2.2 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_ActionsTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_CachingPolicyManager.py 1.12.14.4 => 1.12.14.5 ===
--- Products/CMFCore/tests/test_CachingPolicyManager.py:1.12.14.4 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_CachingPolicyManager.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_CatalogTool.py 1.7.14.4 => 1.7.14.5 ===
--- Products/CMFCore/tests/test_CatalogTool.py:1.7.14.4 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_CatalogTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_ContentTypeRegistry.py 1.11.14.2 => 1.11.14.3 ===
--- Products/CMFCore/tests/test_ContentTypeRegistry.py:1.11.14.2 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_ContentTypeRegistry.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_DirectoryView.py 1.19.10.6 => 1.19.10.7 ===
--- Products/CMFCore/tests/test_DirectoryView.py:1.19.10.6 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_DirectoryView.py Fri Jul 8 09:24:32 2005
@@ -2,7 +2,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/CMFCore/tests/test_DiscussionTool.py 1.6.2.2 => 1.6.2.3 ===
--- Products/CMFCore/tests/test_DiscussionTool.py:1.6.2.2 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_DiscussionTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_DynamicType.py 1.6.14.2 => 1.6.14.3 ===
--- Products/CMFCore/tests/test_DynamicType.py:1.6.14.2 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_DynamicType.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_Expression.py 1.6.14.1 => 1.6.14.2 ===
--- Products/CMFCore/tests/test_Expression.py:1.6.14.1 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_Expression.py Fri Jul 8 09:24:32 2005
@@ -2,7 +2,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/CMFCore/tests/test_FSFile.py 1.8.14.4 => 1.8.14.5 ===
--- Products/CMFCore/tests/test_FSFile.py:1.8.14.4 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_FSFile.py Fri Jul 8 09:24:32 2005
@@ -18,7 +18,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/CMFCore/tests/test_FSImage.py 1.10.14.4 => 1.10.14.5 ===
--- Products/CMFCore/tests/test_FSImage.py:1.10.14.4 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_FSImage.py Fri Jul 8 09:24:32 2005
@@ -18,7 +18,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/CMFCore/tests/test_FSMetadata.py 1.6.14.4 => 1.6.14.5 ===
--- Products/CMFCore/tests/test_FSMetadata.py:1.6.14.4 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_FSMetadata.py Fri Jul 8 09:24:32 2005
@@ -2,7 +2,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/CMFCore/tests/test_FSPageTemplate.py 1.14.14.5 => 1.14.14.6 ===
--- Products/CMFCore/tests/test_FSPageTemplate.py:1.14.14.5 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_FSPageTemplate.py Fri Jul 8 09:24:32 2005
@@ -2,7 +2,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/CMFCore/tests/test_FSPythonScript.py 1.8.14.3 => 1.8.14.4 ===
--- Products/CMFCore/tests/test_FSPythonScript.py:1.8.14.3 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_FSPythonScript.py Fri Jul 8 09:24:32 2005
@@ -2,7 +2,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/CMFCore/tests/test_FSSecurity.py 1.7.14.3 => 1.7.14.4 ===
--- Products/CMFCore/tests/test_FSSecurity.py:1.7.14.3 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_FSSecurity.py Fri Jul 8 09:24:32 2005
@@ -2,7 +2,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/CMFCore/tests/test_FSZSQLMethod.py 1.1.2.3 => 1.1.2.4 ===
--- Products/CMFCore/tests/test_FSZSQLMethod.py:1.1.2.3 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_FSZSQLMethod.py Fri Jul 8 09:24:32 2005
@@ -4,7 +4,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/CMFCore/tests/test_MemberDataTool.py 1.5.14.3 => 1.5.14.4 ===
--- Products/CMFCore/tests/test_MemberDataTool.py:1.5.14.3 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_MemberDataTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_MembershipTool.py 1.10.14.3 => 1.10.14.4 ===
--- Products/CMFCore/tests/test_MembershipTool.py:1.10.14.3 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_MembershipTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_OpaqueItems.py 1.9.2.2 => 1.9.2.3 ===
--- Products/CMFCore/tests/test_OpaqueItems.py:1.9.2.2 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_OpaqueItems.py Fri Jul 8 09:24:32 2005
@@ -2,7 +2,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/CMFCore/tests/test_RegistrationTool.py 1.4.14.3 => 1.4.14.4 ===
--- Products/CMFCore/tests/test_RegistrationTool.py:1.4.14.3 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_RegistrationTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_SkinsTool.py 1.5.14.3 => 1.5.14.4 ===
--- Products/CMFCore/tests/test_SkinsTool.py:1.5.14.3 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_SkinsTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_TypesTool.py 1.32.2.6 => 1.32.2.7 ===
--- Products/CMFCore/tests/test_TypesTool.py:1.32.2.6 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_TypesTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_URLTool.py 1.7.14.2 => 1.7.14.3 ===
--- Products/CMFCore/tests/test_URLTool.py:1.7.14.2 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_URLTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_UndoTool.py 1.4.14.2 => 1.4.14.3 ===
--- Products/CMFCore/tests/test_UndoTool.py:1.4.14.2 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_UndoTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_WorkflowTool.py 1.10.2.4 => 1.10.2.5 ===
--- Products/CMFCore/tests/test_WorkflowTool.py:1.10.2.4 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_WorkflowTool.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_all.py 1.28.2.1 => 1.28.2.2 ===
--- Products/CMFCore/tests/test_all.py:1.28.2.1 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_all.py Fri Jul 8 09:24:32 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/CMFCore/tests/test_utils.py 1.4.2.1 => 1.4.2.2 ===
--- Products/CMFCore/tests/test_utils.py:1.4.2.1 Fri Jul 8 08:28:29 2005
+++ Products/CMFCore/tests/test_utils.py Fri Jul 8 09:24:32 2005
@@ -2,7 +2,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