Teknium
bd43a43f07
fix(cli): handle EOFError in sessions delete/prune confirmation prompts ( #3101 )
...
sessions delete and prune call input() for confirmation without
catching EOFError. When stdin isn't a TTY (piped input, CI/CD, cron),
input() throws EOFError and the command crashes.
Extract a _confirm_prompt() helper that handles EOFError and
KeyboardInterrupt, defaulting to cancel. Both call sites now use it.
Salvaged from PR #2622 by dieutx (improved from duplicated try/except
to shared helper). Closes #2565 .
2026-03-25 18:06:04 -07:00
..
2026-02-26 03:20:08 +03:00
2026-03-18 03:17:37 -07:00
2026-03-18 03:22:58 -07:00
2026-03-14 19:33:59 -07:00
2026-03-12 08:20:12 -07:00
2026-03-14 12:16:00 -07:00
2026-03-09 21:36:29 -07:00
2026-03-25 17:03:05 -07:00
2026-03-17 04:28:03 -07:00
2026-03-18 03:54:50 -07:00
2026-03-14 19:18:10 -07:00
2026-03-14 06:11:33 -07:00
2026-03-15 06:46:28 -07:00
2026-03-16 04:42:46 -07:00
2026-03-14 12:11:23 -07:00
2026-03-24 07:05:57 -07:00
2026-03-18 02:54:18 -07:00
2026-03-22 04:52:52 -07:00
2026-03-17 03:48:44 -07:00
2026-03-24 06:58:04 -07:00
2026-03-16 04:34:45 -07:00
2026-03-16 06:07:45 -07:00
2026-03-14 10:35:14 -07:00
2026-03-08 17:42:50 -07:00
2026-03-25 18:06:04 -07:00
2026-03-16 05:20:56 -07:00
2026-03-24 12:50:24 -07:00
2026-03-14 02:37:29 -07:00
2026-03-14 02:37:29 -07:00
2026-03-15 21:16:21 -07:00
2026-03-24 12:50:24 -07:00
2026-03-11 03:06:15 -07:00
2026-03-14 11:27:02 -07:00
2026-03-17 01:59:07 -07:00
2026-03-17 01:59:07 -07:00
2026-03-11 00:50:39 -07:00
2026-03-17 10:04:53 -07:00
2026-03-14 03:35:37 -07:00
2026-03-17 04:28:03 -07:00
2026-03-23 07:06:51 -07:00
2026-03-17 02:05:26 -07:00
2026-03-21 16:49:19 -07:00
2026-03-14 21:45:50 -07:00
2026-03-16 12:36:29 -07:00