|
...
|
...
|
@@ -34,10 +34,9 @@ class PackageSelector(object):
|
|
34
|
34
|
def get_packages_to_install(options, config_type, output_data_path):
|
|
35
|
35
|
package_list = []
|
|
36
|
36
|
for install_option in options:
|
|
37
|
|
- if install_option[0] == config_type:
|
|
38
|
|
- if install_option[1]["include"] != "none":
|
|
39
|
|
- for include_type in install_option[1]["include"]:
|
|
40
|
|
- package_list = package_list + PackageSelector.get_packages_to_install(options, include_type, output_data_path)
|
|
|
37
|
+ if install_option[0] == config_type:
|
|
|
38
|
+ for include_type in install_option[1]["include"]:
|
|
|
39
|
+ package_list = package_list + PackageSelector.get_packages_to_install(options, include_type, output_data_path)
|
|
41
|
40
|
json_wrapper_package_list = JsonWrapper(os.path.join(output_data_path, install_option[1]["file"]))
|
|
42
|
41
|
package_list_json = json_wrapper_package_list.read()
|
|
43
|
42
|
package_list = package_list + package_list_json["packages"]
|