mirror of https://github.com/ARMmbed/mbed-os.git
[tools] Fixed precedence issue in cumulative attribute set-arithmetic
Basically this: a | b - c != (a | b) - cpull/2281/head
parent
b171a9c4b8
commit
f3c0ea3664
|
@ -169,7 +169,8 @@ class ConfigCumulativeOverride:
|
|||
|
||||
def update_target(self, target):
|
||||
setattr(target, self.name, list(
|
||||
set(getattr(target, self.name, [])) | self.additions - self.removals))
|
||||
(set(getattr(target, self.name, [])) | self.additions) - self.removals))
|
||||
|
||||
|
||||
|
||||
# 'Config' implements the mbed configuration mechanism
|
||||
|
|
Loading…
Reference in New Issue