Commit c6d044a8 authored by Aurel's avatar Aurel Committed by Arnaud Fontaine

apply WSGIPublisher patch to zope2

parent e9f9ca27
...@@ -24,7 +24,11 @@ import six ...@@ -24,7 +24,11 @@ import six
from Products.ERP5Type import WITH_LEGACY_WORKFLOW from Products.ERP5Type import WITH_LEGACY_WORKFLOW
# Load all monkey patches # Load all monkey patches
#from Products.ERP5Type.patches import WSGIPublisher try:
from ZPublisher.WSGIPublisher import _MODULES
except ImportError:
# BBB Zope2
from Products.ERP5Type.patches import WSGIPublisher
from Products.ERP5Type.patches import HTTPRequest from Products.ERP5Type.patches import HTTPRequest
from Products.ERP5Type.patches import AccessControl_patch from Products.ERP5Type.patches import AccessControl_patch
from Products.ERP5Type.patches import Restricted from Products.ERP5Type.patches import Restricted
......
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