[mrk] remove an old gnomekeyring workarround. Fixes #3920
This commit is contained in:
parent
31a1a92ddd
commit
ea8af84886
|
@ -48,11 +48,9 @@ class SimplePasswordStorage(PasswordStorage):
|
||||||
|
|
||||||
class GnomePasswordStorage(PasswordStorage):
|
class GnomePasswordStorage(PasswordStorage):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# self.keyring = gnomekeyring.get_default_keyring_sync()
|
self.keyring = gnomekeyring.get_default_keyring_sync()
|
||||||
|
if self.keyring is None:
|
||||||
## above line commented and code below inserted as workaround
|
self.keyring = 'default'
|
||||||
## for the bug http://bugzilla.gnome.org/show_bug.cgi?id=363019
|
|
||||||
self.keyring = "default"
|
|
||||||
try:
|
try:
|
||||||
gnomekeyring.create_sync(self.keyring, None)
|
gnomekeyring.create_sync(self.keyring, None)
|
||||||
except gnomekeyring.AlreadyExistsError:
|
except gnomekeyring.AlreadyExistsError:
|
||||||
|
|
Loading…
Reference in New Issue