diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-10 11:06:57 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-10 11:06:57 +0200 |
| commit | fb45dbc03650bd9ed7f5629fd01fffdaa951f109 (patch) | |
| tree | fa36ecfe0f0cbb6d939fbf076eff3e76f4f65041 /tests/test_parse.py | |
| parent | a5bf22b9eefa32322b2587ac930e5680d97500be (diff) | |
| download | abusectl-fb45dbc03650bd9ed7f5629fd01fffdaa951f109.tar.gz abusectl-fb45dbc03650bd9ed7f5629fd01fffdaa951f109.zip | |
fix: keep the trailing comment at the end of the config
The "Later parts add further sections here" block was emitted by build(),
so preserved sections were appended below it and it became a comment about
nothing, pointing at a table already underneath it.
It is now a FOOTER constant that build() still appends, so a lone build()
reads as a complete file, and write() strips before adding preserved text
and puts back at the end.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LByBnw83xr9YP85nskzkyE
Diffstat (limited to 'tests/test_parse.py')
0 files changed, 0 insertions, 0 deletions
