From 97ee7491ce3d2e401f6bf716fd5220098b929dd1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Mon, 20 Feb 2012 02:37:32 +0100 Subject: [PATCH] usbinstall.py: session_bus variable is not needed --- src/usbinstall.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/usbinstall.py b/src/usbinstall.py index b053a8d..979dcf4 100755 --- a/src/usbinstall.py +++ b/src/usbinstall.py @@ -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)