Commit 544cd252 authored by Jérome Perrin's avatar Jérome Perrin

fixup! ERP5Type: import code from WSGIPublisher instead of redefining

parent 32794b90
......@@ -150,4 +150,8 @@ def publish(request, module_info):
return _original_publish(request, module_info)
assert publish_module.__defaults__[0] is _original_publish
publish_module.__defaults__ = (publish, ) + publish_module.__defaults__[1:]
sys.modules['ZPublisher.WSGIPublisher'] = sys.modules[__name__]
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