From 9afda1c61dea0f7c4dd2707f37cffb2176f0431e Mon Sep 17 00:00:00 2001 From: goodboy Date: Fri, 14 Aug 2026 09:34:18 -0400 Subject: [PATCH] Fix `pformat_caller_frame()`s bogus `indent` kwarg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Just drop it — `pformat_boxed_tb()` spells its knobs `tb_box_indent`/`tb_body_indent`, and that fn's default (1-space box indent) is what the caller wanted anyway. Regressed-by: 888af602 (`pformat_cs()` mv into `.devx.pformat`) Found-via: `/run-tests` test_pformat_caller_frame_renders (this patch was generated in some part by `claude-code` using `claude-opus-5` (`anthropic`)) --- tractor/devx/pformat.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tractor/devx/pformat.py b/tractor/devx/pformat.py index 38b942ff..9350ea47 100644 --- a/tractor/devx/pformat.py +++ b/tractor/devx/pformat.py @@ -215,7 +215,6 @@ def pformat_caller_frame( tb_str: str = pformat_boxed_tb( tb_str=tb_str, field_prefix=' ', - indent='', ) return tb_str