From ba297021cc5981e390ff04e82dc6cf2301024d2c Mon Sep 17 00:00:00 2001 From: Robert Blackhart Date: Mon, 13 Apr 2026 23:51:43 -0400 Subject: [PATCH] Fix for Empty except Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- recline/repl/shell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/recline/repl/shell.py b/recline/repl/shell.py index afd5992..47999cd 100644 --- a/recline/repl/shell.py +++ b/recline/repl/shell.py @@ -240,6 +240,7 @@ def track_command_history(filename: str) -> None: # default history len is -1 (infinite), which may grow unruly readline.set_history_length(1000) except IOError: + # Missing/unreadable history file is non-fatal (e.g., first run); continue. pass atexit.register(readline.write_history_file, filename)