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 87148d3 commit ef347fcCopy full SHA for ef347fc
src/auditwheel/lddtree.py
@@ -13,12 +13,12 @@
13
14
from __future__ import annotations
15
16
-from collections import OrderedDict
17
import errno
18
import functools
19
import glob
20
import logging
21
import os
+from collections import OrderedDict
22
from dataclasses import dataclass
23
from fnmatch import fnmatch
24
from pathlib import Path
@@ -568,7 +568,7 @@ def ldd(
568
if realpath is None:
569
log.info("Could not locate %s, skipping.", soname)
570
continue
571
- if realpath is not None and any(fnmatch(str(realpath), e) for e in exclude):
+ if any(fnmatch(str(realpath), e) for e in exclude):
572
log.info("Excluding %s", realpath)
573
_excluded_libs.add(soname)
574
0 commit comments