manager: ObjectManager/Properties intf fixes
Defer name grab until object is created.
Unmask ObjectManager/Properties signals.
Change-Id: Ife4d15575b87f1e00e5c30b072be3c7b3d117da7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/settings_manager.py b/settings_manager.py
index b990f21..67f3260 100644
--- a/settings_manager.py
+++ b/settings_manager.py
@@ -85,9 +85,10 @@
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
bus = get_dbus()
- name = dbus.service.BusName(DBUS_NAME, bus)
obj = HostSettingsObject(bus, OBJ_NAME, s.SETTINGS, "/var/lib/obmc/")
mainloop = gobject.MainLoop()
+ obj.unmask_signals()
+ name = dbus.service.BusName(DBUS_NAME, bus)
print "Running HostSettingsService"
mainloop.run()