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] committed Dec 11, 2024
1 parent 6246b5b commit 80df491
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 80df491

Please sign in to comment.