diff --git a/scripts/monitor_dbus_signals.py b/scripts/monitor_dbus_signals.py index 013ab5d..e708d85 100755 --- a/scripts/monitor_dbus_signals.py +++ b/scripts/monitor_dbus_signals.py @@ -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: