Commit 85b05f39 authored by Ivan Tyagov's avatar Ivan Tyagov

Support local file system download URLs.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26342 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4785fce6
...@@ -545,7 +545,7 @@ class WizardTool(BaseTool): ...@@ -545,7 +545,7 @@ class WizardTool(BaseTool):
installation_status['bt5']['all'] = len(bt5_files) installation_status['bt5']['all'] = len(bt5_files)
#execute_after_setup_script = install_standard_bt5 = install_customer_bt5 = False # dev mode #execute_after_setup_script = install_standard_bt5 = install_customer_bt5 = False # dev mode
for bt5_id in bt5_filenames: for bt5_id in bt5_filenames:
if bt5_id.startswith('http://'): if bt5_id.startswith('http://') or bt5_id.startswith('file://') :
## direct download of bt5 files available ## direct download of bt5 files available
if install_standard_bt5: if install_standard_bt5:
bt = portal_templates.download(bt5_id) bt = portal_templates.download(bt5_id)
......
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