From ea81a632997513dabb0287c088a58af0e488b8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Sat, 13 Aug 2005 14:32:00 +0000 Subject: [PATCH] allow import of ConflictError in TTW code git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3583 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/product/ERP5/__init__.py b/product/ERP5/__init__.py index e9adb819c4..7ea60bac74 100755 --- a/product/ERP5/__init__.py +++ b/product/ERP5/__init__.py @@ -36,6 +36,7 @@ import sys, Permissions this_module = sys.modules[ __name__ ] document_classes = updateGlobals( this_module, globals(), permissions_module = Permissions) from Products.PythonScripts.Utility import allow_class +from AccessControl import ModuleSecurityInfo import MovementGroup allow_class(MovementGroup) @@ -81,5 +82,7 @@ def initialize( context ): portal_tools = portal_tools, content_constructors = content_constructors, content_classes = content_classes) + + ModuleSecurityInfo('ZODB.POSException').declarePublic('ConflictError') + - \ No newline at end of file -- 2.30.9