bus_name_has_owner in python

Simon McVittie simon.mcvittie at collabora.co.uk
Sun Mar 18 07:44:14 PDT 2007


On Sat, 17 Mar 2007 at 14:43:31 +0000, Tony Houghton wrote:
> I was using bus_name_has_owner() but it's now deprecated in dbus-python
> 0.80.x because it's in the bindings module. What should I use instead?

The deprecated functions in dbus_bindings that took a Bus as their first
argument should all now be available as methods on Bus objects. In this
case it's Bus.name_has_owner(bus_name: str) -> bool, although you don't
want to use that for the reasons Havoc said.

	Simon


More information about the dbus mailing list