mirror of https://github.com/astral-sh/uv
This commit is contained in:
parent
ec49f65578
commit
56f9074d2a
|
|
@ -57,11 +57,15 @@ impl KeyringProvider {
|
||||||
match &self.backend {
|
match &self.backend {
|
||||||
KeyringProviderBackend::Native => {
|
KeyringProviderBackend::Native => {
|
||||||
let Some(username) = credentials.username() else {
|
let Some(username) = credentials.username() else {
|
||||||
trace!("Unable to store credentials in keyring for {url} due to missing username");
|
trace!(
|
||||||
|
"Unable to store credentials in keyring for {url} due to missing username"
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
let Some(password) = credentials.password() else {
|
let Some(password) = credentials.password() else {
|
||||||
trace!("Unable to store credentials in keyring for {url} due to missing password");
|
trace!(
|
||||||
|
"Unable to store credentials in keyring for {url} due to missing password"
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue