Imitiating buttfly in being explicitly typed
[theonering] / src / contacts.py
index 9906a10..d57d1e1 100644 (file)
@@ -46,9 +46,9 @@ class ContactsMixin(telepathy.server.ConnectionInterfaceContacts):
                                )
 
                handle_type = telepathy.HANDLE_TYPE_CONTACT
-               ret = {}
+               ret = dbus.Dictionary(signature='ua{sv}')
                for handle in handles:
-                       ret[handle] = {}
+                       ret[handle] = dbus.Dictionary(signature='sv')
 
                functions = {
                        telepathy.CONNECTION: