From 982e34a1ec594ae8ad8c27a651b6eba68dcae40e Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Tue, 24 May 2005 16:30:51 +0000 Subject: * python/decorators.py: add explicitly_pass_message decorator for passing in the dbus message as keyword for edge case signal handling * python/matchrules.py (SignalMatchRule.__repr__): fix output to conform with what dbus expects for match rules (SignalMatchRule.execute): add the dbus message as a keyword if the signal handler has requested it * python/examples/example/signal-recipient.py: added some more examples on how to hook up to signals * python/proxies.py: minor formatting changes --- python/_dbus.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'python/_dbus.py') diff --git a/python/_dbus.py b/python/_dbus.py index d408704a..d559ce18 100644 --- a/python/_dbus.py +++ b/python/_dbus.py @@ -150,9 +150,7 @@ class Bus: match_rule = SignalMatchRule(signal_name, dbus_interface, named_service, path) - args = message.get_args_list() - - self._match_rule_tree.exec_matches(match_rule, *args) + self._match_rule_tree.exec_matches(match_rule, message) def start_service_by_name(self, named_service): return dbus_bindings.bus_start_service_by_name(self._connection, named_service) -- cgit