From f3d4c931f50e77789a19e35ff73c2e6ee41acc44 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 13 Mar 2025 16:14:00 -0700 Subject: [PATCH] style: Remove trailing whitespace in redact-cast.py --- scripts/redact-cast.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/redact-cast.py b/scripts/redact-cast.py index fa0215da5..0ea887554 100755 --- a/scripts/redact-cast.py +++ b/scripts/redact-cast.py @@ -44,11 +44,11 @@ def main(): # Fast initial check on raw line before JSON parsing raw_line_has_atuin_chars = any(char in line for char in atuin_chars) - + # Only parse JSON if we're checking terminal or need to check if check_terminal or raw_line_has_atuin_chars: event = json.loads(line) - + # For output events, check for potential "Atuin" content if len(event) >= 3 and event[1] == "o": output_text = event[2] @@ -72,7 +72,7 @@ def main(): check_terminal = False else: continue # Skip this event if Atuin is visible - + # Write event to output file for non-skipped events fout.write(line) else: