From 80df4914dc1801eb16247e508d1d2917e99fe312 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:24:48 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- conda_build/os_utils/liefldd.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/conda_build/os_utils/liefldd.py b/conda_build/os_utils/liefldd.py index b50193b36f..b3b155c6c5 100644 --- a/conda_build/os_utils/liefldd.py +++ b/conda_build/os_utils/liefldd.py @@ -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