From 3d99820133c0ffcd2f51a6a88b4a476f2f6d340a Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 1 Aug 2023 09:20:08 +0800 Subject: kernel: Fix a typo --- chapter10/kernel/kernel-config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter10/kernel') 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 += [''] -- cgit v1.2.3-54-g00ecf