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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
erp5
Commits
6f3b45fb
Commit
6f3b45fb
authored
Sep 01, 2021
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test reapplying wsgi patches
parent
0de1f854
Changes
2
Show 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 @
6f3b45fb
...
...
@@ -23,11 +23,7 @@
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 @
6f3b45fb
...
...
@@ -469,8 +469,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