Commit ea81a632 authored by Jérome Perrin's avatar Jérome Perrin

allow import of ConflictError in TTW code


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3583 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 47e3f2b0
...@@ -36,6 +36,7 @@ import sys, Permissions ...@@ -36,6 +36,7 @@ import sys, Permissions
this_module = sys.modules[ __name__ ] this_module = sys.modules[ __name__ ]
document_classes = updateGlobals( this_module, globals(), permissions_module = Permissions) document_classes = updateGlobals( this_module, globals(), permissions_module = Permissions)
from Products.PythonScripts.Utility import allow_class from Products.PythonScripts.Utility import allow_class
from AccessControl import ModuleSecurityInfo
import MovementGroup import MovementGroup
allow_class(MovementGroup) allow_class(MovementGroup)
...@@ -82,4 +83,6 @@ def initialize( context ): ...@@ -82,4 +83,6 @@ def initialize( context ):
content_constructors = content_constructors, content_constructors = content_constructors,
content_classes = content_classes) content_classes = content_classes)
ModuleSecurityInfo('ZODB.POSException').declarePublic('ConflictError')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment