Commit f52b0995 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Hack for passing by genbt5list for BM

parent 616e68db
......@@ -944,22 +944,37 @@ class TemplateTool (BaseTool):
finally:
f.close()
#XXX: Hardcoding 'erp5_mysql_innodb_catalog' BP in the list
#XXX: Hardcoding 'erp5_core_proxy_field_legacy' BP in the list
bp_dict ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': [],
'description': '',
'force_install': 0,
'id': 'erp5_mysql_innodb_catalog',
'id': 'erp5_core_proxy_field_legacy',
'license': 'GPL',
'provision_list': ['erp5_catalog'],
'revision': '',
'test_dependency_list': [],
'title': 'erp5_mysql_innodb_catalog',
'provision_list': [],
'title': 'erp5_core_proxy_field_legacy',
'version': '1.0'}
if repository.endswith('/bt5'):
property_dict_list.append(bp_dict)
bm_dict ={
'copyright_list': ['Copyright (c) 2001-2017 Nexedi SA'],
'dependency_list': [],
'description': '',
'force_install': 0,
'id': 'erp5_mysql_innodb_catalog',
'license': 'GPL',
'revision': '',
'test_dependency_list': [],
'provision_list': ['erp5_catalog'],
'title': 'erp5_mysql_innodb_catalog',
'version': '1.0'}
if repository.endswith('/bootstrap'):
property_dict_list.append(bm_dict)
self.repository_dict[repository] = tuple(property_dict_list)
if REQUEST is not None:
......
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