[mrk] remove an old gnomekeyring workarround. Fixes #3920

This commit is contained in:
Yann Leboulanger 2008-05-04 21:44:05 +00:00
parent 31a1a92ddd
commit ea8af84886
1 changed files with 3 additions and 5 deletions

View File

@ -48,11 +48,9 @@ class SimplePasswordStorage(PasswordStorage):
class GnomePasswordStorage(PasswordStorage):
def __init__(self):
# self.keyring = gnomekeyring.get_default_keyring_sync()
## above line commented and code below inserted as workaround
## for the bug http://bugzilla.gnome.org/show_bug.cgi?id=363019
self.keyring = "default"
self.keyring = gnomekeyring.get_default_keyring_sync()
if self.keyring is None:
self.keyring = 'default'
try:
gnomekeyring.create_sync(self.keyring, None)
except gnomekeyring.AlreadyExistsError: