From d638f2b9a0a1f19d45529c7f4a85135432fe8bb2 Mon Sep 17 00:00:00 2001 From: Vijay Kumar Banerjee Date: Tue, 9 Mar 2021 11:10:21 -0700 Subject: sb/config.py: Fix relational operator Close #4330 --- source-builder/sb/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py index afcac84..04e0834 100644 --- a/source-builder/sb/config.py +++ b/source-builder/sb/config.py @@ -978,7 +978,7 @@ class file: else: self._error('invalid if bool operator: ' + reduce(add, ls, '')) else: - if len(ifls) > 3: + if len(ifls) >= 3: for op in ['==', '!=', '>=', '=>', '=<', '<=', '>', '<']: ops = s.split(op) if len(ops) == 2: -- cgit v1.2.3