diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-17 21:18:19 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-17 21:24:19 +0100 |
| commit | 24714ad985058e670ef04acdef353c7748cf7714 (patch) | |
| tree | c07a3e9e4f181f331460648a67a1d7e6721ab9e2 | |
| parent | 80b91983c97db284ce39a695cc0258902e1d70a9 (diff) | |
Simplify _parse_properties() loop
| -rw-r--r-- | kconfiglib.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 08f73d9..a23a8c6 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -1614,11 +1614,7 @@ class Kconfig(object): # properties above. node.dep = self.y - while 1: - # Advance to the next line - if not self._next_line(): - break - + while self._next_line(): self._tokenize() t0 = self._next_token() |
