[Python-modules-commits] r24894 - in packages/python-keyring/trunk/debian/patches (1 file)
mitya57-guest at users.alioth.debian.org
mitya57-guest at users.alioth.debian.org
Fri Jun 21 12:10:17 UTC 2013
Date: Friday, June 21, 2013 @ 12:10:16
Author: mitya57-guest
Revision: 24894
Update debian/patches/catch-dbus-errors.patch to make the test not fail
Modified:
packages/python-keyring/trunk/debian/patches/catch-dbus-errors.patch
Modified: packages/python-keyring/trunk/debian/patches/catch-dbus-errors.patch
===================================================================
--- packages/python-keyring/trunk/debian/patches/catch-dbus-errors.patch 2013-06-21 06:53:35 UTC (rev 24893)
+++ packages/python-keyring/trunk/debian/patches/catch-dbus-errors.patch 2013-06-21 12:10:16 UTC (rev 24894)
@@ -1,15 +1,18 @@
Description: catch D-Bus errors when checking if SecretService is supported
Author: Dmitry Shachnev <mitya57 at gmail.com>
Forwarded: no
-Last-Update: 2013-06-18
+Last-Update: 2013-06-21
--- a/keyring/backends/SecretService.py
+++ b/keyring/backends/SecretService.py
-@@ -14,10 +14,11 @@
+@@ -14,10 +14,14 @@
except ImportError:
return -1
from secretstorage.exceptions import SecretServiceNotAvailableException
-+ from dbus.exceptions import DBusException
++ try:
++ from dbus.exceptions import DBusException
++ except ImportError:
++ return -1
try:
bus = secretstorage.dbus_init()
secretstorage.Collection(bus)
More information about the Python-modules-commits
mailing list