Changeset ddf89fff for kernel-config/kernel-config.py
- Timestamp:
- 08/01/2023 01:22:41 AM (10 months ago)
- Branches:
- 12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
- Children:
- f11dce68
- Parents:
- 0f6e309
- git-author:
- Xi Ruoyao <xry111@…> (08/01/2023 01:22:00 AM)
- git-committer:
- Xi Ruoyao <xry111@…> (08/01/2023 01:22:41 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel-config/kernel-config.py
r0f6e309 rddf89fff 244 244 raise Exception("%s seems not exist" % i) 245 245 246 sep = known_config.get('separate_toplevel_menu') 247 246 248 for i0, val, i1, title, arrow, key, menu, comment in r: 247 249 rem = max_line … … 276 278 if comment: 277 279 comment = '\n'.join([' ' * i0 + '# ' + line for line in comment]) 278 line = escape(comment) + ':\n' + line 280 buf += [escape(comment) + ':'] 281 282 if not menu and buf: 283 buf += [''] 279 284 280 285 buf += [line.rstrip()]
Note:
See TracChangeset
for help on using the changeset viewer.