aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xchapter10/kernel/kernel-config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter10/kernel/kernel-config.py b/chapter10/kernel/kernel-config.py
index fc9bcc0d2..a36113175 100755
--- a/chapter10/kernel/kernel-config.py
+++ b/chapter10/kernel/kernel-config.py
@@ -277,7 +277,7 @@ for i0, val, i1, title, arrow, key, menu, comment in r:
comment = [comment]
if comment:
comment = '\n'.join([' ' * i0 + '# ' + line for line in comment])
- buf += escape(comment) + ':'
+ buf += [escape(comment) + ':']
if not menu and buf:
buf += ['']