[Pkg-bazaar-commits] ./bzr-gtk/unstable r480: Merge DBus fix from Daniel, fix comment.
Jelmer Vernooij
jelmer at samba.org
Fri Apr 10 07:50:28 UTC 2009
------------------------------------------------------------
revno: 480
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Thu 2008-05-01 23:49:50 +0200
message:
Merge DBus fix from Daniel, fix comment.
modified:
seahorse.py
------------------------------------------------------------
revno: 473.2.1
committer: Daniel Schierbeck <daniel.schierbeck at gmail.com>
branch nick: fix-missing-dbus
timestamp: Wed 2008-04-30 13:26:01 +0200
message:
Made the seahorse module fail correctly when a proper version of DBus isn't found.
modified:
seahorse.py
-------------- next part --------------
=== modified file 'seahorse.py'
--- a/seahorse.py 2008-04-03 20:30:15 +0000
+++ b/seahorse.py 2008-05-01 21:49:50 +0000
@@ -31,6 +31,10 @@
try:
dbus.validate_bus_name(BUS_NAME)
except ValueError:
+ # Seahorse isn't installed
+ raise ImportError
+except AttributeError:
+ # Outdated version of DBus that doesn't have validate_bus_name
raise ImportError
bus = dbus.SessionBus()
More information about the Pkg-bazaar-commits
mailing list