diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2016-09-08 22:29:01 -0400 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-12 21:24:44 +0000 |
commit | f47f5faad52af399946d375e3650ac26b664baf1 (patch) | |
tree | 14f0d72df85d7d90762ca792973f34a72222e478 /pysystemmgr | |
parent | 7a4d77a86e98f02839213ce040c1d8f2f6be31cc (diff) | |
download | blackbird-skeleton-f47f5faad52af399946d375e3650ac26b664baf1.tar.gz blackbird-skeleton-f47f5faad52af399946d375e3650ac26b664baf1.zip |
Use super to construct dbus.service.Object
Change-Id: I830decfc523d435c6b9ecdc9ffffec7956c3b85d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'pysystemmgr')
-rw-r--r-- | pysystemmgr/system_manager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pysystemmgr/system_manager.py b/pysystemmgr/system_manager.py index fe786e5..716c85d 100644 --- a/pysystemmgr/system_manager.py +++ b/pysystemmgr/system_manager.py @@ -19,9 +19,9 @@ INTF_ITEM = 'org.openbmc.InventoryItem' class SystemManager(DbusProperties, DbusObjectManager): def __init__(self, bus, obj_name): - DbusProperties.__init__(self) - DbusObjectManager.__init__(self) - dbus.service.Object.__init__(self, bus, obj_name) + super(SystemManager, self).__init__( + conn=bus, + object_path=obj_name) self.bus = bus bus.add_signal_receiver( |