1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-12 16:56:15 +01:00

Fix fallback KeyringLocked to inherit from Exception

This commit is contained in:
Daniel Mach 2023-05-02 09:55:30 +02:00
parent 651dc708a5
commit aa5e0952e2

View File

@ -40,7 +40,7 @@ try:
from keyring.errors import KeyringLocked
except ImportError:
# python-keyring is not installed
class KeyringLocked:
class KeyringLocked(Exception):
pass