aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/kernel
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-08-01 09:20:08 +0800
committerXi Ruoyao <xry111@xry111.site>2023-08-01 09:20:08 +0800
commit3d99820133c0ffcd2f51a6a88b4a476f2f6d340a (patch)
tree9be6fe88ea17f486dea10b85bb57f82d1a4f2f7a /chapter10/kernel
parent57499d5909d515e8e4d9bfab91c90350816e148c (diff)
kernel: Fix a typo
Diffstat (limited to 'chapter10/kernel')
-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 += ['']