From 356c52a45db139bf1fdfcf5b6e0903ece7d1dd46 Mon Sep 17 00:00:00 2001 From: Daniil Batalov Date: Thu, 12 Sep 2024 17:03:09 +0700 Subject: [PATCH] spdx30_tasks.py: fix typo in call of is_file method Method is_file() was wrongly called as isfile() Signed-off-by: Daniil Batalov Signed-off-by: Richard Purdie --- meta/lib/oe/spdx30_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py index 4da52da654d..6a2858c6654 100644 --- a/meta/lib/oe/spdx30_tasks.py +++ b/meta/lib/oe/spdx30_tasks.py @@ -239,7 +239,7 @@ def get_package_sources_from_debug( continue else: # We can only hash files below, skip directories, links, etc. - if not debugsrc_path.isfile(): + if not debugsrc_path.is_file(): source_hash_cache[debugsrc_path] = None continue -- 2.47.2