From 9b4309c943943a52a404b6c8737232515ed03e14 Mon Sep 17 00:00:00 2001 From: mulhern Date: Wed, 6 Mar 2024 13:02:44 -0500 Subject: [PATCH] prev --- scripts/monitor_dbus_signals.py | 7 +++++++ 1 file changed, 7 insertions(+) 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: