mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02: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:
committed by
Richard Purdie
parent
64a1a07f03
commit
18fce365a5
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user