From 7c7cf673305f6f28e539e2c3db2e6d6bd89bdf28 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 1 Jul 2019 22:20:57 +0200 Subject: Remove redundant parens --- kconfiglib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kconfiglib.py') diff --git a/kconfiglib.py b/kconfiglib.py index 838e4e7..792e20f 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -4145,7 +4145,7 @@ class Symbol(object): See the class documentation. """ if self.orig_type is TRISTATE and \ - ((self.choice and self.choice.tri_value == 2) or + (self.choice and self.choice.tri_value == 2 or not self.kconfig.modules.tri_value): return BOOL -- cgit v1.2.3