Commit 12ed5590 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

not required_bt5_id_list but upgradable_bt5_id_list should be calculated in...

not required_bt5_id_list but upgradable_bt5_id_list should be calculated in case of 'not specified explicitly'.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45617 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bab544a1
......@@ -68,10 +68,10 @@ bt5_counter = 0\n
available_bt5_list = portal_templates.getRepositoryBusinessTemplateList(newest_only=True)\n
available_bt5_id_list = [x.title for x in available_bt5_list]\n
required_bt5_id_list = signature.get(\'required_bt5_id_list\', [])\n
if len(required_bt5_id_list) == 0:\n
# by default, we try to upgrade all installed business templates.\n
required_bt5_id_list = portal_templates.getInstalledBusinessTemplateTitleList()\n
upgradable_bt5_id_list = signature.get(\'upgradable_bt5_id_list\', [])\n
if len(upgradable_bt5_id_list) == 0:\n
# by default, we try to upgrade all installed business templates.\n
upgradable_bt5_id_list = portal_templates.getInstalledBusinessTemplateTitleList()\n
reinstallable_bt5_id_list = signature.get(\'reinstallable_bt5_id_list\', signature.get(\'reinstalable_bt5_id_list\', []))\n
before_triggered_bt5_id_dict = signature.get(\'before_triggered_bt5_id_dict\', {})\n
after_triggered_bt5_id_dict = signature.get(\'after_triggered_bt5_id_dict\', {})\n
......
588
\ No newline at end of file
589
\ No newline at end of file
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