diff options
| -rw-r--r-- | kconfiglib.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 99bdf80..5c62a57 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -4461,8 +4461,7 @@ def _flatten(node): # with no unexpected "jumps" in the indentation. while node: - if node.list and (not node.prompt or node.prompt[0] == ""): - + if node.list and not node.prompt: last_node = node.list while 1: last_node.parent = node.parent |
