diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-10-07 06:19:09 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-10-07 06:48:59 +0200 |
| commit | 8523423ca99c0f486a7c1e90801b1be14fdd1457 (patch) | |
| tree | 577e720cbb144da03cbba97199f6bbde307bbf4f | |
| parent | f0747641bb7f7db8f0fd75c6ef8908bac7d7a758 (diff) | |
Remove useless local variable in _parse_factor()
Not sure how I missed that one so long...
| -rw-r--r-- | kconfiglib.py | 3 |
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>', |
