1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 16:59:22 +00:00

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
2024-09-12 17:03:09 +07:00
committed by Richard Purdie
parent 64a1a07f03
commit 18fce365a5
+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