Changeset 31a9142 for chapter10/kernel/kernel-config.py
- Timestamp:
- 12/05/2023 05:32:48 PM (10 months ago)
- Branches:
- 12.1, 12.1-rc1, 12.2, 12.2-rc1, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/update-glibc
- Children:
- 7cce808, c4108e5
- Parents:
- 981b9fa6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter10/kernel/kernel-config.py
r981b9fa6 r31a9142 186 186 elif line.startswith('endif'): 187 187 if_stack = if_stack[:-1] 188 189 if config_buf: 190 r += [parse_config(config_buf)] 191 188 192 return r 189 193 … … 260 264 title = title[:rem - 3] + '...' 261 265 262 b = title.lstrip('YyMmNnHh ')266 b = title.lstrip('YyMmNnHh.' + "".join(map(str, range(10)))) 263 267 a = title[:len(title) - len(b)] 264 268 b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>"
Note:
See TracChangeset
for help on using the changeset viewer.