server: use super for ObjectManager construction
Change-Id: Ia4f99301a344bff29de8a64c0795bc5f8bdbb7ff
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/obmc/mapper/server.py b/obmc/mapper/server.py
index 1575526..f8286ce 100644
--- a/obmc/mapper/server.py
+++ b/obmc/mapper/server.py
@@ -138,7 +138,7 @@
class Association(dbus.service.Object):
def __init__(self, bus, path, endpoints):
- super(Association, self).__init__(bus, path)
+ super(Association, self).__init__(conn=bus, object_path=path)
self.endpoints = endpoints
def __getattr__(self, name):
@@ -185,8 +185,7 @@
class Manager(obmc.dbuslib.bindings.DbusObjectManager):
def __init__(self, bus, path):
- obmc.dbuslib.bindings.DbusObjectManager.__init__(self)
- dbus.service.Object.__init__(self, bus, path)
+ super(Manager, self).__init__(conn=bus, object_path=path)
class ObjectMapper(dbus.service.Object):