Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and tkelman committed Dec 17, 2024
1 parent aec8563 commit d37cb6b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions conda_build/os_utils/liefldd.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,7 @@ def get_uniqueness_key(filename, file):
or binary.type == lief.ELF.ELF_CLASS.CLASS64
):
dynamic_entries = binary.dynamic_entries
result = [
e.name for e in dynamic_entries if e.tag == ELF_DYNAMIC_TAGS.SONAME
]
result = [e.name for e in dynamic_entries if e.tag == ELF_DYNAMIC_TAGS.SONAME]
if result:
return result[0]
return filename
Expand Down

0 comments on commit d37cb6b

Please sign in to comment.