Skip to content

Commit

Permalink
prev
Browse files Browse the repository at this point in the history
  • Loading branch information
mulkieran committed Mar 6, 2024
1 parent 42e46f8 commit 9b4309c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/monitor_dbus_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,14 @@ def _make_mo():
the result of calling Properties.GetAll on the top object for
selected interfaces.
"""

mos = _OBJECT_MANAGER.Methods.GetManagedObjects(_TOP_OBJECT, {})

mos = {
o: {k: v for k, v in d.items() if re.fullmatch(_INTERFACE_RE, k)}
for o, d in mos.items()
}

mos[_TOP_OBJECT_PATH] = {}

for interface in _TOP_OBJECT_INTERFACES:
Expand Down

0 comments on commit 9b4309c

Please sign in to comment.