2 from dbusclient
import DBusClient
4 """The bus where NetworkManager objects live.
6 It can be globally changed to a debugging bus for a mock NM service.
7 Having that as a parameter would complicate the API for the normal
8 use case, so it is factored out here.
10 NM_BUS
= dbus
.SystemBus()
11 #print "Global Bus:", NM_BUS
13 # print "Bus:", NM_BUS
16 class Base(DBusClient
):
17 def __init__(self
, bus_name
=None, object_path
=None, introspect
=True, follow_name_owner_changes
=False, **kwargs
):
19 super(Base
, self
).__init
__(conn
, bus_name
, object_path
, introspect
, follow_name_owner_changes
, **kwargs
)