From d7ae535551be61307eebb0cdb55c0b32cf11cb5f Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Mon, 7 May 2012 17:16:29 +0200 Subject: [PATCH] application: enable dbus exporter --- tuned/application.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tuned/application.py b/tuned/application.py index a7602f1..759cb9a 100644 --- a/tuned/application.py +++ b/tuned/application.py @@ -34,14 +34,14 @@ class Application(object): self._controller = controller.Controller(self._daemon, config_file) self._dbus_exporter = None -# if enable_dbus: -# self._init_dbus() + if enable_dbus: + self._init_dbus() self._init_signals() def _init_dbus(self): self._dbus_exporter = exports.dbus.DBusExporter(DBUS_BUS, DBUS_INTERFACE, DBUS_OBJECT) - exports.register_exporter(_dbus_exporter) + exports.register_exporter(self._dbus_exporter) exports.register_object(self._controller) def _init_signals(self):