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 /pyflashbmc | |
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 'pyflashbmc')
-rw-r--r-- | pyflashbmc/bmc_update.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pyflashbmc/bmc_update.py b/pyflashbmc/bmc_update.py index e761fff..94c36d6 100644 --- a/pyflashbmc/bmc_update.py +++ b/pyflashbmc/bmc_update.py @@ -29,10 +29,9 @@ def doExtract(members, files): class BmcFlashControl(DbusProperties, DbusObjectManager): def __init__(self, bus, name): - self.dbus_objects = {} - DbusProperties.__init__(self) - DbusObjectManager.__init__(self) - dbus.service.Object.__init__(self, bus, name) + super(BmcFlashControl, self).__init__( + conn=bus, + object_path=name) self.Set(DBUS_NAME, "status", "Idle") self.Set(DBUS_NAME, "filename", "") |