Commit 5ba514bc authored by Rafael Monnerat's avatar Rafael Monnerat

ERP5/TemplateTool: Do not update catalog for every dependency

See merge request !1855
parents 3baa7ea3 73caf345
...@@ -1255,7 +1255,8 @@ class TemplateTool (BaseTool): ...@@ -1255,7 +1255,8 @@ class TemplateTool (BaseTool):
continue continue
bt_url = '%s/%s' % (repository, bt_id) bt_url = '%s/%s' % (repository, bt_id)
param_dict = dict(download_url=bt_url, only_different=only_different) param_dict = dict(download_url=bt_url, only_different=only_different)
param_dict["update_catalog"] = update_catalog if bt_id in template_list:
param_dict["update_catalog"] = update_catalog
if activate: if activate:
self.activate(**activate_kw).\ self.activate(**activate_kw).\
......
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