diff options
Diffstat (limited to 'build/gen_ins_pkg_script.py')
-rw-r--r-- | build/gen_ins_pkg_script.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/gen_ins_pkg_script.py b/build/gen_ins_pkg_script.py index 5e3d1737..ea6ccef5 100644 --- a/build/gen_ins_pkg_script.py +++ b/build/gen_ins_pkg_script.py @@ -19,6 +19,9 @@ def get_packages_name_list(file_list, special_packages): for file in file_list: datas = yaml.load(open(file)) + if not datas: + continue + for key, value in datas.items(): if key == "pip_packages": continue |