mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 21:34:59 +00:00
style: fix line wrapping in update-history.py
This commit is contained in:
parent
f222739b0d
commit
b0cbb071e6
1 changed files with 3 additions and 3 deletions
|
@ -101,9 +101,9 @@ Also, add this as the last bullet under the "### main branch" section:
|
||||||
else:
|
else:
|
||||||
# Splice the updated portion back in between the unchanged parts
|
# Splice the updated portion back in between the unchanged parts
|
||||||
full_history = (
|
full_history = (
|
||||||
history_content[:start_idx] + # Keep unchanged header
|
history_content[:start_idx]
|
||||||
updated_history + # Add updated portion
|
+ updated_history # Keep unchanged header
|
||||||
history_content[next_version_idx:] # Keep older entries
|
+ history_content[next_version_idx:] # Add updated portion # Keep older entries
|
||||||
)
|
)
|
||||||
|
|
||||||
# Write back the full history
|
# Write back the full history
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue