summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-07 03:08:37 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-07 03:08:37 +0200
commitb2a128776ec8a40acc67396fa1738ee9216938bd (patch)
tree2ec30e672bcab4c7e1ed7467a272d5e98a09c58b
parent27cf293b25e7ac1491f2f5f129733f85695129dd (diff)
Whitespace nits.
-rw-r--r--kconfiglib.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index ac2ec0e..999500b 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1117,10 +1117,8 @@ class Config(object):
optional. Returns a tuple containing the parsed expressions, with
None as the second element if the 'if' part is missing."""
val = self._parse_expr(tokens, stmt, line, filename, linenr, False)
-
if tokens.check(T_IF):
return (val, self._parse_expr(tokens, stmt, line, filename, linenr))
-
return (val, None)
# In case the symbol is defined in multiple locations, we need to