mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-08 02:19:35 +00:00
small down the footprint
This commit is contained in:
@@ -74,9 +74,9 @@ class DBus(object):
|
||||
|
||||
# Read available methods
|
||||
for interface in xml.findall("/node/interface"):
|
||||
methods = []
|
||||
methods = set()
|
||||
for method in interface.findall("/method"):
|
||||
methods.append(method.get('name'))
|
||||
methods.add(method.get('name'))
|
||||
self.data[interface.get('name')] = methods
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user