Commit 9cd1a411 authored by Rafael Monnerat's avatar Rafael Monnerat

Try to use Repository List if base_url_list, which is much more convinient.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41476 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cdddffa1
No related merge requests found
...@@ -1248,6 +1248,8 @@ class TemplateTool (BaseTool): ...@@ -1248,6 +1248,8 @@ class TemplateTool (BaseTool):
This method verify if the business template are available This method verify if the business template are available
into one url (repository). into one url (repository).
""" """
if base_url_list is None:
base_url_list = self.getRepositoryList()
# This list could be preconfigured at some properties or # This list could be preconfigured at some properties or
# at preferences. # at preferences.
for base_url in base_url_list: for base_url in base_url_list:
......
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