Use super to construct dbus.service.Object
Change-Id: I830decfc523d435c6b9ecdc9ffffec7956c3b85d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/pychassisctl/chassis_control.py b/pychassisctl/chassis_control.py
index 20532c9..1e57936 100644
--- a/pychassisctl/chassis_control.py
+++ b/pychassisctl/chassis_control.py
@@ -34,10 +34,9 @@
return uuid
def __init__(self, bus, name):
- self.dbus_objects = {}
- DbusProperties.__init__(self)
- DbusObjectManager.__init__(self)
- dbus.service.Object.__init__(self, bus, name)
+ super(ChassisControlObject, self).__init__(
+ conn=bus,
+ object_path=name)
## load utilized objects
self.dbus_objects = {
'power_control': {