summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 77f35e4..4506296 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -2611,7 +2611,7 @@ class Kconfig(object):
else:
break
- if s.isspace():
+ if not s or s.isspace():
# We also accept a bare macro on a line (e.g.
# $(warning-if,$(foo),ops)), provided it expands to a blank string
return