From f88be7d1548d9161ad7ac6652ad5cdb26dfed6eb Mon Sep 17 00:00:00 2001 From: konstin Date: Thu, 23 Oct 2025 16:32:29 +0200 Subject: [PATCH] Don't duplicate exit status Previously: ``` error: Querying Python at `/home/konsti/projects/pdm/.venv/bin/python3` failed with exit status exit status: 1 ``` --- crates/uv-python/src/interpreter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uv-python/src/interpreter.rs b/crates/uv-python/src/interpreter.rs index bb65e9bf2..80f36dff1 100644 --- a/crates/uv-python/src/interpreter.rs +++ b/crates/uv-python/src/interpreter.rs @@ -794,7 +794,7 @@ impl Display for StatusCodeError { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { write!( f, - "Querying Python at `{}` failed with exit status {}", + "Querying Python at `{}` failed with {}", self.path.display(), self.code )?;