spdx30_tasks.py: fix typo in call of is_file method

Method is_file() was wrongly called as isfile()

(From OE-Core rev: 356c52a45db139bf1fdfcf5b6e0903ece7d1dd46)

Signed-off-by: Daniil Batalov <dbatalov@deltard.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Daniil Batalov authored and Richard Purdie committed 2024-09-13 07:15:49 +01:00
1 parent 64a1a07f03
commit 18fce365a5
1 file changed
+1 -1
+1 -1
View File
@@ -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