diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2005-05-24 16:30:51 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2005-05-24 16:30:51 +0000 |
commit | 982e34a1ec594ae8ad8c27a651b6eba68dcae40e (patch) | |
tree | 0daec34abaa48b1d776497f4b4c72b8748ad39c3 /python/_dbus.py | |
parent | e43a353d27f1b9643c21ccff53a7759fc3dcdffe (diff) |
* 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
Diffstat (limited to 'python/_dbus.py')
-rw-r--r-- | python/_dbus.py | 4 |
1 files changed, 1 insertions, 3 deletions
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) |