Commit a622069e authored by Yoshinori Okuji's avatar Yoshinori Okuji

Fix undefined symbols.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13869 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0d144633
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
# #
############################################################################## ##############################################################################
from Products.CMFCore.utils import * from warnings import warn
from Products.CMFCore.exceptions import AccessControl_Unauthorized, NotFound
from Products.CMFCore.utils import getActionContext
from Products.CMFCore.utils import _verifyActionPermissions from Products.CMFCore.utils import _verifyActionPermissions
from Products.CMFCore.Expression import getExprContext from Products.CMFCore.Expression import getExprContext
from Products.CMFCore import PortalContent from Products.CMFCore import PortalContent
......
...@@ -17,6 +17,7 @@ import email ...@@ -17,6 +17,7 @@ import email
from email.Header import decode_header from email.Header import decode_header
from email.Utils import parseaddr from email.Utils import parseaddr
from ZODB.POSException import ConflictError from ZODB.POSException import ConflictError
from zLOG import LOG
import traceback import traceback
import StringIO import StringIO
......
...@@ -20,7 +20,8 @@ from Products.DCWorkflow.DCWorkflow import DCWorkflowDefinition, StateChangeInfo ...@@ -20,7 +20,8 @@ from Products.DCWorkflow.DCWorkflow import DCWorkflowDefinition, StateChangeInfo
from Products.DCWorkflow.DCWorkflow import ObjectDeleted, ObjectMoved, aq_parent, aq_inner from Products.DCWorkflow.DCWorkflow import ObjectDeleted, ObjectMoved, aq_parent, aq_inner
from Products.DCWorkflow import DCWorkflow from Products.DCWorkflow import DCWorkflow
from Products.DCWorkflow.Transitions import TRIGGER_WORKFLOW_METHOD, TransitionDefinition from Products.DCWorkflow.Transitions import TRIGGER_WORKFLOW_METHOD, TransitionDefinition
from AccessControl import getSecurityManager, ClassSecurityInfo, ModuleSecurityInfo from AccessControl import getSecurityManager, ClassSecurityInfo, \
ModuleSecurityInfo, Unauthorized
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from Products.CMFCore.WorkflowCore import WorkflowException from Products.CMFCore.WorkflowCore import WorkflowException
from Products.CMFCore.utils import _getAuthenticatedUser from Products.CMFCore.utils import _getAuthenticatedUser
......
...@@ -18,8 +18,10 @@ import sys ...@@ -18,8 +18,10 @@ import sys
# Adding commit_prepare to the zodb transaction # Adding commit_prepare to the zodb transaction
try: try:
from ZODB import Transaction, POSException from ZODB import Transaction, POSException
from zLOG import LOG, ERROR
hosed = Transaction.hosed hosed = Transaction.hosed
hosed_msg = Transaction.hosed_msg
free_transaction = Transaction.free_transaction free_transaction = Transaction.free_transaction
jar_cmp = Transaction.jar_cmp jar_cmp = Transaction.jar_cmp
......
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