We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d565378 commit 6fcd3d3Copy full SHA for 6fcd3d3
sbom.py
@@ -608,7 +608,7 @@ def create_sbom_for_source_tarball(tarball_path: str) -> SBOM:
608
# Now we walk the tarball and compare known files to our expected checksums in the SBOM.
609
# All files that aren't already in the SBOM can be added as "CPython" files.
610
for member in tarball.getmembers():
611
- if member.isdir() or not member.isfile(): # Skip directories and symlinks!
+ if not member.isfile(): # Only keep files (no symlinks)
612
continue
613
614
# Get the member from the tarball. CPython prefixes all of its
0 commit comments