From: Daniil Batalov Date: Thu, 12 Sep 2024 10:03:09 +0000 (+0700) Subject: spdx30_tasks.py: fix typo in call of is_file method X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=356c52a45db139bf1fdfcf5b6e0903ece7d1dd46;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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