use 'login' keyring as default keyring instead of 'default'. Fixes #7067

This commit is contained in:
Yann Leboulanger 2012-01-03 20:17:33 +01:00
parent 9804572772
commit 8e72a23918
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class GnomePasswordStorage(PasswordStorage):
def __init__(self):
self.keyring = gnomekeyring.get_default_keyring_sync()
if self.keyring is None:
self.keyring = 'default'
self.keyring = 'login'
try:
gnomekeyring.create_sync(self.keyring, None)
except gnomekeyring.AlreadyExistsError: