diff options
Diffstat (limited to 'meta/lib/oe/spdx30_tasks.py')
-rw-r--r-- | meta/lib/oe/spdx30_tasks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/lib/oe/spdx30_tasks.py b/meta/lib/oe/spdx30_tasks.py index 7baa6be70e..9d5bbadc0f 100644 --- a/meta/lib/oe/spdx30_tasks.py +++ b/meta/lib/oe/spdx30_tasks.py | |||
@@ -238,7 +238,8 @@ def get_package_sources_from_debug( | |||
238 | if file_sha256 is None: | 238 | if file_sha256 is None: |
239 | continue | 239 | continue |
240 | else: | 240 | else: |
241 | if not debugsrc_path.exists(): | 241 | # We can only hash files below, skip directories, links, etc. |
242 | if not debugsrc_path.isfile(): | ||
242 | source_hash_cache[debugsrc_path] = None | 243 | source_hash_cache[debugsrc_path] = None |
243 | continue | 244 | continue |
244 | 245 | ||