Commit e481016a authored by Rafael Monnerat's avatar Rafael Monnerat

Use filter to get only relevant results.

parent f2359b7c
...@@ -1242,7 +1242,7 @@ class TemplateTool (BaseTool): ...@@ -1242,7 +1242,7 @@ class TemplateTool (BaseTool):
# TemplateTool_installRepositoryBusinessTemplateList while still being # TemplateTool_installRepositoryBusinessTemplateList while still being
# possible to reuse by external callers # possible to reuse by external callers
opreation_log = [] opreation_log = []
template_dict = self._getBusinessTemplateUrlDict() template_dict = self._getBusinessTemplateUrlDict(only_newer)
for template_name in template_list: for template_name in template_list:
if template_name in template_dict: if template_name in template_dict:
installed_bt = self.getInstalledBusinessTemplate(template_name) installed_bt = self.getInstalledBusinessTemplate(template_name)
......
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