From ecc54114f7a3d99533201e5f503880255bb78b32 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Sat, 14 Jul 2007 13:24:27 +0000 Subject: [PATCH] [misc] handle gnome-heyring DeniedError. Fix #3300. --- src/common/passwords.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/passwords.py b/src/common/passwords.py index 77ddbf8c9..17f9d0146 100644 --- a/src/common/passwords.py +++ b/src/common/passwords.py @@ -111,6 +111,8 @@ def get_storage(): storage = GnomePasswordStorage() except gnomekeyring.NoKeyringDaemonError: storage = SimplePasswordStorage() + except gnomekeyring.DeniedError: + storage = SimplePasswordStorage() else: storage = SimplePasswordStorage() return storage