From 2d9e7a347ffbf8468a838c92fbb5b6d9784ac631 Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Tue, 29 Oct 2024 13:49:24 +0100 Subject: [PATCH] Build: Fix inverted filter condition for libraries. Noticed that we _only_ kept the libraries we _didn't_ want, instead of the inverse :-p part of CURA-12229 --- conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conanfile.py b/conanfile.py index 9461ba6c1d..0062431f34 100644 --- a/conanfile.py +++ b/conanfile.py @@ -283,7 +283,7 @@ class CuraConan(ConanFile): # filter all binary files in binaries on the blacklist blacklist = pyinstaller_metadata["blacklist"] - filtered_binaries = [b for b in binaries if any([all([(part in b) for part in parts]) for parts in blacklist])] + filtered_binaries = [b for b in binaries if not any([all([(part in b) for part in parts]) for parts in blacklist])] # TEMP: print to make sure -- remove this before merge print("specifically don't include:")