diff options
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 7e90c26..b73ea10 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2301,10 +2301,11 @@ class Kconfig(object): # than the first line help_lines = [] - # Small optimization + # Small optimizations add_help_line = help_lines.append + indentation = _indentation - while line and (line.isspace() or _indentation(line) >= indent): + while line and (line.isspace() or indentation(line) >= indent): # De-indent 'line' by 'indent' spaces and rstrip() it to remove any # newlines (which gets rid of other trailing whitespace too, but # that's fine). |
