Commit d86d4626 authored by Arnaud Fontaine's avatar Arnaud Fontaine

ERP5Type.patches.Publish: Fix typo: Zope supports_retry() does not take any parameter (92e81dd4).

parent 18d5f5fd
Pipeline #8667 failed with stage
in 0 seconds
......@@ -158,7 +158,7 @@ def publish(request, module_name, after_list, debug=0,
sys.exc_info()[2],
)
except Retry:
if not request.supports_retry(request):
if not request.supports_retry():
with getPublisherDeadlineValue():
return err_hook(parents, request,
sys.exc_info()[0],
......
  • We should really stop using monkey patches, or find a way to run unit tests for the patched code. It's not the first time that our monkey patches introduce this kind of bugs.

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