mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 14:58:58 +08:00
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
This commit is contained in:
parent
52824c4872
commit
2d9e7a347f
@ -283,7 +283,7 @@ class CuraConan(ConanFile):
|
|||||||
|
|
||||||
# filter all binary files in binaries on the blacklist
|
# filter all binary files in binaries on the blacklist
|
||||||
blacklist = pyinstaller_metadata["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
|
# TEMP: print to make sure -- remove this before merge
|
||||||
print("specifically don't include:")
|
print("specifically don't include:")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user