usbinstall.py: session_bus variable is not needed
This commit is contained in:
parent
dd08e29560
commit
97ee7491ce
@ -294,7 +294,6 @@ class set_dbus(dbus.service.Object):
|
|||||||
return 0
|
return 0
|
||||||
|
|
||||||
def dbus_start():
|
def dbus_start():
|
||||||
session_bus = dbus.SystemBus()
|
|
||||||
bus_name = dbus.service.BusName('org.openmamba.usbinstall', bus=dbus.SystemBus())
|
bus_name = dbus.service.BusName('org.openmamba.usbinstall', bus=dbus.SystemBus())
|
||||||
dbus_loop = set_dbus(bus_name)
|
dbus_loop = set_dbus(bus_name)
|
||||||
bus = dbus.SystemBus(mainloop=dbus_loop)
|
bus = dbus.SystemBus(mainloop=dbus_loop)
|
||||||
|
Loading…
Reference in New Issue
Block a user