1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 12:29:08 +00:00

code cleanups

This commit is contained in:
Pascal Vizeli
2018-04-22 17:44:03 +02:00
parent 808fc0f8b6
commit 8f357739ec
16 changed files with 21 additions and 16 deletions

View File

@@ -14,7 +14,7 @@ CALL = ("gdbus call --system --dest {bus} --object-path {inf} "
"--method {inf}.{method} {args}")
class DBus(object):
class DBus:
"""DBus handler."""
def __init__(self, bus_name, object_path):
@@ -109,7 +109,7 @@ class DBus(object):
return DBusCallWrapper(self, interface)
class DBusCallWrapper(object):
class DBusCallWrapper:
"""Wrapper a DBus interface for a call."""
def __init__(self, dbus, interface):