diff options
| author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-05-29 15:33:18 +0100 |
|---|---|---|
| committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-05-29 15:33:18 +0100 |
| commit | 5618e6182ded0d1861a9fcb5a26440e4454801f6 (patch) | |
| tree | 9468466e84fd65227b4f2ea050c71279d2e259b6 /dbus/service.py | |
| parent | 26288ab181eb2452fad7fd94c9bc00c817b4137d (diff) | |
| download | dbus-python-5618e6182ded0d1861a9fcb5a26440e4454801f6.tar.gz | |
dbus.service: include child nodes in introspection
Diffstat (limited to 'dbus/service.py')
| -rw-r--r-- | dbus/service.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/service.py b/dbus/service.py index 9d3dc3f..be30b9b 100644 --- a/dbus/service.py +++ b/dbus/service.py @@ -530,6 +530,10 @@ class Object(Interface): reflection_data += ' </interface>\n' + for name in self._connection.list_exported_child_objects( + self._object_path): + reflection_data += ' <node name="%s"/>\n' % name + reflection_data += '</node>\n' return reflection_data |
