Don't duplicate exit status

Previously:

```
error: Querying Python at `/home/konsti/projects/pdm/.venv/bin/python3` failed with exit status exit status: 1
```
This commit is contained in:
konstin 2025-10-23 16:32:29 +02:00
parent 4c1571fb76
commit f88be7d154
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ impl Display for StatusCodeError {
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
write!( write!(
f, f,
"Querying Python at `{}` failed with exit status {}", "Querying Python at `{}` failed with {}",
self.path.display(), self.path.display(),
self.code self.code
)?; )?;