summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-04-01 16:14:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-04-01 16:14:55 +0200
commit86877faf6b1be201de5ff64f1bdded594b901b85 (patch)
tree5f98b67e6a44ec413a908db2adabb1bbea2fd5fb /src
parent12197a5f9ef9429ff56cd9563a01e98edc4bdb2d (diff)
downloadabrt-86877faf6b1be201de5ff64f1bdded594b901b85.tar.gz
abrt-86877faf6b1be201de5ff64f1bdded594b901b85.tar.xz
abrt-86877faf6b1be201de5ff64f1bdded594b901b85.zip
gui: fix the last case where gnome-keyring's find_items_sync() may throw DeniedError
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r--src/Gui/ConfBackend.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Gui/ConfBackend.py b/src/Gui/ConfBackend.py
index a76873b5..bb62da43 100644
--- a/src/Gui/ConfBackend.py
+++ b/src/Gui/ConfBackend.py
@@ -201,6 +201,9 @@ class ConfBackendGnomeKeyring(ConfBackend):
except gkey.NoMatchError:
# nothing found
pass
+ except gkey.DeniedError:
+ raise ConfBackendLoadError(_("Access to gnome-keyring has been denied, can't load settings"))
+
for item in item_list:
# gnome keyring is weeeeird. why display_name, type, mtime, ctime
# aren't available in find_items_sync() results? why we need to