Philipp Hörist pushed to branch master at gajim / gajim
Commits:
29b77367 by Philipp Hörist at 2023-11-15T19:17:43+01:00
cfix: Passwords: Don’t fail when password does not exist
Fixes #11686
- - - - -
1 changed file:
- gajim/common/passwords.py
Changes:
=====================================
gajim/common/passwords.py
=====================================
@@ -134,6 +134,10 @@ def delete_password(account_name: str) -> None:
try:
_interface.backend.delete_password('gajim', account_name)
+ except keyring.errors.PasswordDeleteError:
+ pass
+
+ try:
return _interface.backend.delete_password('gajim', account_jid)
except keyring.errors.PasswordDeleteError as error:
log.warning('Removing password failed: %s', error)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/29b7736708c18b9e0caea7a12647e47a352f6aab
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/29b7736708c18b9e0caea7a12647e47a352f6aab
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]