Commit 321868b5 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Extended API of crawlContent.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13683 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9a308695
......@@ -640,7 +640,8 @@ class ContributionTool(BaseTool):
except urllib2.URLError, error:
if error.reason.args[0] == -3:
# Temporary failure in name resolution - try again in 1 day
self.activate(at_date=DateTime() + 1).newContentFromURL(
self.activate(at_date=DateTime() + 1,
activity="SQLQueue").newContentFromURL(
container_path=container_path, id=id,
repeat=repeat - 1, **kw)
else:
......
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