[misc] handle gnome-heyring DeniedError. Fix #3300.
This commit is contained in:
parent
21269c175a
commit
ecc54114f7
|
@ -111,6 +111,8 @@ def get_storage():
|
||||||
storage = GnomePasswordStorage()
|
storage = GnomePasswordStorage()
|
||||||
except gnomekeyring.NoKeyringDaemonError:
|
except gnomekeyring.NoKeyringDaemonError:
|
||||||
storage = SimplePasswordStorage()
|
storage = SimplePasswordStorage()
|
||||||
|
except gnomekeyring.DeniedError:
|
||||||
|
storage = SimplePasswordStorage()
|
||||||
else:
|
else:
|
||||||
storage = SimplePasswordStorage()
|
storage = SimplePasswordStorage()
|
||||||
return storage
|
return storage
|
||||||
|
|
Loading…
Reference in New Issue