[MERGE] Match DBus Spawn.ExecFailed exception rather than all DBus exceptions.

Sabin Iacob iacobs at m0n5t3r.info
Wed Jun 4 22:29:27 BST 2008


Elliot Murphy wrote:
> Hi!
>
> Second try to fix https://bugs.edge.launchpad.net/bzr/+bug/107169.
>
> I saw a comment in this branch lp:///~iacobs/bzr-gtk/bug228922/ that
> DBusException.get_bus_name() is not present in older versions of dbus. I
> don't know what to do about that other than catch all the
> DBusExceptions. Is this an acceptable fix?

bb:resubmit

it's better to use _dbus_error_name instead of get_dbus_name(), the 
former seems to have been present for a longer time (I checked the 
sources of dbus-python 0.71 and 0.80.2, which appear to be the version 
deemed stable by gentoo, 0.71 seems to be the version shipped by Debian 
Etch)



More information about the bzr-gtk mailing list