From b0cbb071e6d2d7600de212d4838c859ca9f24872 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 30 Nov 2024 14:01:25 -0800 Subject: [PATCH] style: fix line wrapping in update-history.py --- scripts/update-history.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/update-history.py b/scripts/update-history.py index df9773324..57241823a 100755 --- a/scripts/update-history.py +++ b/scripts/update-history.py @@ -101,9 +101,9 @@ Also, add this as the last bullet under the "### main branch" section: else: # Splice the updated portion back in between the unchanged parts full_history = ( - history_content[:start_idx] + # Keep unchanged header - updated_history + # Add updated portion - history_content[next_version_idx:] # Keep older entries + history_content[:start_idx] + + updated_history # Keep unchanged header + + history_content[next_version_idx:] # Add updated portion # Keep older entries ) # Write back the full history