Commit 26840845 authored by Rafael Monnerat's avatar Rafael Monnerat

py3: Import ValidationFailed from ERP5Type

parent 0be36735
from Products.DCWorkflow.DCWorkflow import ValidationFailed from Products.ERP5Type.Core.Workflow import ValidationFailed
from Products.ZSQLCatalog.SQLCatalog import SimpleQuery, ComplexQuery from Products.ZSQLCatalog.SQLCatalog import SimpleQuery, ComplexQuery
if context.getPortalType() not in ('Software Instance', 'Slave Instance'): if context.getPortalType() not in ('Software Instance', 'Slave Instance'):
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from AccessControl import Unauthorized from AccessControl import Unauthorized
from OFS.Traversable import NotFound from OFS.Traversable import NotFound
from Products.DCWorkflow.DCWorkflow import ValidationFailed from Products.ERP5Type.Core.Workflow import ValidationFailed
from Products.ERP5Type.Globals import InitializeClass from Products.ERP5Type.Globals import InitializeClass
from Products.ERP5Type.Tool.BaseTool import BaseTool from Products.ERP5Type.Tool.BaseTool import BaseTool
from Products.ERP5Type import Permissions from Products.ERP5Type import Permissions
......
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