west: build: appease the linter

The linter is complaining about unnecessary parens.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2023-03-09 13:10:28 -08:00 committed by Carles Cufí
parent 5880feee33
commit 1f9ab85354

View file

@ -191,7 +191,7 @@ class Build(Forceable):
'treating unknown build.pristine value "{}" as "never"'.
format(pristine))
pristine = 'never'
self.auto_pristine = (pristine == 'auto')
self.auto_pristine = pristine == 'auto'
log.dbg('pristine: {} auto_pristine: {}'.format(pristine,
self.auto_pristine),