Commit 03b1dabd authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Sebastien Robin

Permit import BusinessTemplateUnknownError in ZODB

This exception is required to be used in ZODB due erp5_promise.
parent 181d643a
...@@ -37,6 +37,7 @@ import tarfile ...@@ -37,6 +37,7 @@ import tarfile
from Acquisition import Implicit, Explicit from Acquisition import Implicit, Explicit
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from AccessControl.SecurityInfo import ModuleSecurityInfo
from Products.CMFActivity.ActiveResult import ActiveResult from Products.CMFActivity.ActiveResult import ActiveResult
from Products.ERP5Type.Globals import InitializeClass, DTMLFile, PersistentMapping from Products.ERP5Type.Globals import InitializeClass, DTMLFile, PersistentMapping
from Products.ERP5Type.DiffUtils import DiffFile from Products.ERP5Type.DiffUtils import DiffFile
...@@ -83,6 +84,8 @@ class BusinessTemplateIsMeta(Exception): ...@@ -83,6 +84,8 @@ class BusinessTemplateIsMeta(Exception):
""" """
pass pass
ModuleSecurityInfo(__name__).declarePublic('BusinessTemplateUnknownError')
class TemplateTool (BaseTool): class TemplateTool (BaseTool):
""" """
TemplateTool manages Business Templates. TemplateTool manages Business Templates.
......
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