Commit d7166422 authored by Arnaud Fontaine's avatar Arnaud Fontaine Committed by Xiaowu Zhang

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

parent 9a218010
...@@ -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