From 734fbb5e96ff700767b9e1371e788e727b032ea6 Mon Sep 17 00:00:00 2001 From: liangliang6768 Date: Fri, 13 Dec 2024 02:22:56 +0000 Subject: [PATCH 1/2] 11 Signed-off-by: liangliang6768 --- tools/deps_guard/deps_guard.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/deps_guard/deps_guard.py b/tools/deps_guard/deps_guard.py index 7650630..c93fbb4 100755 --- a/tools/deps_guard/deps_guard.py +++ b/tools/deps_guard/deps_guard.py @@ -73,5 +73,6 @@ if __name__ == '__main__': parser = __create_arg_parser() args = parser.parse_args() - - _deps_guard_module(args.input, args) + path = args.input+"/build_configs/parts_info/" + if os.path.exists(path): + _deps_guard_module(args.input, args) -- Gitee From fa177efb13031c5c523f6c1ad4a78f469f3e6e4b Mon Sep 17 00:00:00 2001 From: liangliang6768 Date: Fri, 13 Dec 2024 02:40:08 +0000 Subject: [PATCH 2/2] 11 Signed-off-by: liangliang6768 --- tools/deps_guard/deps_guard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/deps_guard/deps_guard.py b/tools/deps_guard/deps_guard.py index c93fbb4..bea8810 100755 --- a/tools/deps_guard/deps_guard.py +++ b/tools/deps_guard/deps_guard.py @@ -17,6 +17,7 @@ # from elf_file_mgr import ElfFileMgr +import os def __create_arg_parser(): -- Gitee