summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 45630ff..ea212f5 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -2943,8 +2943,7 @@ class Kconfig(object):
if isinstance(token, Symbol):
# Plain symbol or relation
- next_token = self._peek_token()
- if next_token not in _RELATIONS:
+ if self._peek_token() not in _RELATIONS:
# Plain symbol
# For conditional expressions ('depends on <expr>',