zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #03003
Re: [Merge] lp:~zeitgeist/zeitgeist/dbus-paranoia into lp:zeitgeist
Now that we're changing this code we can simplify it even more. The Python 'dbus' module has methods request_name() and name_has_owner() built directly into the SessionBus singleton, ie:
bus = dbus.SessionBus()
if bus.name_has_owner("org.Foo") : do_blah()
else: bus.request_name("com.Bleh")
- you get the idea...
--
https://code.launchpad.net/~zeitgeist/zeitgeist/dbus-paranoia/+merge/53301
Your team Zeitgeist Framework Team is requested to review the proposed merge of lp:~zeitgeist/zeitgeist/dbus-paranoia into lp:zeitgeist.
References