summaryrefslogtreecommitdiff
path: root/dbus/_dbus.py
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-04-27 12:11:28 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-04-27 12:51:21 +0100
commita6a86fbfc299cdc61c6d013a0081c2eec878f99a (patch)
tree3822da0ee0fc24ace99794861cba9611ae8f0776 /dbus/_dbus.py
parent6457e018adf4bf87a1bb4791ba5a08ad6ac6ba51 (diff)
downloaddbus-python-a6a86fbfc299cdc61c6d013a0081c2eec878f99a.tar.gz
dbus/_dbus.py: Match NameOwnerChanged correctly
Diffstat (limited to 'dbus/_dbus.py')
-rw-r--r--dbus/_dbus.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbus/_dbus.py b/dbus/_dbus.py
index 6b1ac16..528c4ff 100644
--- a/dbus/_dbus.py
+++ b/dbus/_dbus.py
@@ -601,7 +601,8 @@ class Bus(BusImplementation):
# If it's NameOwnerChanged, we'll need to update our
# sender well-known name -> sender unique name mappings
- if (message.is_signal(BUS_DAEMON_NAME, 'NameOwnerChanged')
+ if (message.is_signal(BUS_DAEMON_IFACE, 'NameOwnerChanged')
+ and message.has_sender(BUS_DAEMON_NAME)
and message.has_path(BUS_DAEMON_PATH)):
name, unused, new = message.get_args_list()
for match in self._signal_sender_matches.get(name, (None,))[1:]: