[openSUSE/osc] b4afd1: Avoid crash when deleting a password
![](https://seccdn.libravatar.org/avatar/9181eb84f9c35729a3bad740fb7f9d93.jpg?s=120&d=mm&r=g)
Branch: refs/heads/master
Home: https://github.com/openSUSE/osc
Commit: b4afd1a8ea0e70476f4d25aaaa60b24e29aeb0e1
https://github.com/openSUSE/osc/commit/b4afd1a8ea0e70476f4d25aaaa60b24e29aeb...
Author: mig4 <42650719@auril.club>
Date: 2022-11-01 (Tue, 01 Nov 2022)
Changed paths:
M osc/credentials.py
Log Message:
-----------
Avoid crash when deleting a password
When using keyring, osc would crash when called as
`osc config ENDPOINT --change-password`
and when the password didn't exist in the backend.
This prevents it by first checking if a password exists.
Commit: cd257dc15f3464d3d83785992f65b76c069d3198
https://github.com/openSUSE/osc/commit/cd257dc15f3464d3d83785992f65b76c069d3...
Author: Daniel Mach
participants (1)
-
Daniel Mach