mirror of https://github.com/astral-sh/uv
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:
parent
4c1571fb76
commit
f88be7d154
|
|
@ -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
|
||||||
)?;
|
)?;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue