mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 05:38:43 +02:00
Fix fallback KeyringLocked to inherit from Exception
This commit is contained in:
@@ -40,7 +40,7 @@ try:
|
||||
from keyring.errors import KeyringLocked
|
||||
except ImportError:
|
||||
# python-keyring is not installed
|
||||
class KeyringLocked:
|
||||
class KeyringLocked(Exception):
|
||||
pass
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user