Skip to content

Commit ef347fc

Browse files
committed
fmt
1 parent 87148d3 commit ef347fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/auditwheel/lddtree.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313

1414
from __future__ import annotations
1515

16-
from collections import OrderedDict
1716
import errno
1817
import functools
1918
import glob
2019
import logging
2120
import os
21+
from collections import OrderedDict
2222
from dataclasses import dataclass
2323
from fnmatch import fnmatch
2424
from pathlib import Path
@@ -568,7 +568,7 @@ def ldd(
568568
if realpath is None:
569569
log.info("Could not locate %s, skipping.", soname)
570570
continue
571-
if realpath is not None and any(fnmatch(str(realpath), e) for e in exclude):
571+
if any(fnmatch(str(realpath), e) for e in exclude):
572572
log.info("Excluding %s", realpath)
573573
_excluded_libs.add(soname)
574574
continue

0 commit comments

Comments
 (0)