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
...@@ -158,7 +158,7 @@ def publish(request, module_name, after_list, debug=0, ...@@ -158,7 +158,7 @@ def publish(request, module_name, after_list, debug=0,
sys.exc_info()[2], sys.exc_info()[2],
) )
except Retry: except Retry:
if not request.supports_retry(request): if not request.supports_retry():
with getPublisherDeadlineValue(): with getPublisherDeadlineValue():
return err_hook(parents, request, return err_hook(parents, request,
sys.exc_info()[0], sys.exc_info()[0],
......
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