handle canceling of creating gnome keyring. Fixes #5909

This commit is contained in:
Yann Leboulanger 2010-09-16 21:15:12 +02:00
parent 5911966828
commit 6d430aa372
1 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,8 @@ def get_storage():
if USER_USES_GNOMEKEYRING:
try:
storage = GnomePasswordStorage()
except (gnomekeyring.NoKeyringDaemonError, gnomekeyring.DeniedError):
except (gnomekeyring.NoKeyringDaemonError, gnomekeyring.DeniedError,
gnomekeyring.CancelledError):
storage = None
if storage is None:
if gajim.config.get('use_kwalletcli'):