Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
8d09ed7c
Commit
8d09ed7c
authored
Sep 01, 2021
by
Aurel
Committed by
Arnaud Fontaine
Jan 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test reapplying wsgi patches
parent
b52c7b68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
product/ERP5Type/ZopePatch.py
product/ERP5Type/ZopePatch.py
+1
-5
product/ERP5Type/patches/WSGIPublisher.py
product/ERP5Type/patches/WSGIPublisher.py
+1
-5
No files found.
product/ERP5Type/ZopePatch.py
View file @
8d09ed7c
...
...
@@ -24,11 +24,7 @@ import six
from
Products.ERP5Type
import
WITH_LEGACY_WORKFLOW
# Load all monkey patches
try
:
from
ZPublisher.WSGIPublisher
import
_MODULES
except
ImportError
:
# BBB Zope2
from
Products.ERP5Type.patches
import
WSGIPublisher
from
Products.ERP5Type.patches
import
WSGIPublisher
from
Products.ERP5Type.patches
import
HTTPRequest
from
Products.ERP5Type.patches
import
AccessControl_patch
from
Products.ERP5Type.patches
import
Restricted
...
...
product/ERP5Type/patches/WSGIPublisher.py
View file @
8d09ed7c
...
...
@@ -495,8 +495,4 @@ def publish_module(environ, start_response,
# Return the result body iterable.
return
result
try
:
from
ZPublisher.WSGIPublisher
import
_MODULES
except
ImportError
:
# BBB Zope2
sys
.
modules
[
'ZPublisher.WSGIPublisher'
]
=
sys
.
modules
[
__name__
]
sys
.
modules
[
'ZPublisher.WSGIPublisher'
]
=
sys
.
modules
[
__name__
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment