usbinstall.py: session_bus variable is not needed

This commit is contained in:
Silvan Calarco 2012-02-20 02:37:32 +01:00
parent dd08e29560
commit 97ee7491ce

View File

@ -294,7 +294,6 @@ class set_dbus(dbus.service.Object):
return 0
def dbus_start():
session_bus = dbus.SystemBus()
bus_name = dbus.service.BusName('org.openmamba.usbinstall', bus=dbus.SystemBus())
dbus_loop = set_dbus(bus_name)
bus = dbus.SystemBus(mainloop=dbus_loop)