From c679105fd9d26b2266ed7f46b652ae27e9539bbc Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sun, 28 Oct 2018 18:21:01 +0100 Subject: Replace 'indent == 0' with 'not indent' Tiny bit faster and smaller. Clear in context. --- kconfiglib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kconfiglib.py b/kconfiglib.py index ced3e9a..ff33f30 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2856,7 +2856,7 @@ class Kconfig(object): return indent = _indentation(line) - if indent == 0: + if not indent: # If the first non-empty lines has zero indent, there is no help # text self._warn(_name_and_loc(node.item) + -- cgit v1.2.3