mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-13 01:06:15 +01:00
Fix fallback KeyringLocked to inherit from Exception
This commit is contained in:
parent
651dc708a5
commit
aa5e0952e2
@ -40,7 +40,7 @@ try:
|
|||||||
from keyring.errors import KeyringLocked
|
from keyring.errors import KeyringLocked
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# python-keyring is not installed
|
# python-keyring is not installed
|
||||||
class KeyringLocked:
|
class KeyringLocked(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user