From 2f9a68bfb13313456034932a08c6d06ebbf151b3 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 #4319 --- 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 cd0bf94..d3ba6cd 100644 --- a/source-builder/sb/config.py +++ b/source-builder/sb/config.py @@ -989,7 +989,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