[PATCH] Fix Python example in documentation
Thomas Petazzoni
thomas.petazzoni at enix.org
Sun Dec 17 03:56:34 PST 2006
Hi,
Le Sun, 17 Dec 2006 12:51:40 +0100,
Thomas Petazzoni <thomas.petazzoni at enix.org> a écrit :
> The Python example provided in the documentation no longer works with
> recent version of DBus. The get_service() method of the bus object no
> longer exists, and has been replaced by get_object(). Moreover, the
> prototype of the callback also changed.
>
> This updated version works on my Debian Unstable, with HAL 0.5.1,
> DBus 0.94 and Python-DBus 0.71.
BTW, it still works with HAL 0.5.8.1, DBus 1.0.2 and Python-DBUS 0.71.
The versions mentionned in the patch are older, because I already sent
this patch on November, 5th, but as I wasn't subscribed to the list, it
never reached the list.
Do you want me to resend a patch with an updated description ?
Sincerly,
Thomas
--
PETAZZONI Thomas - thomas.petazzoni at enix.org
http://{thomas,sos,kos}.enix.org - Jabber: thomas.petazzoni at jabber.dk
http://{agenda,livret}dulibre.org - http://www.toulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E 1624 F653 CB30 98D3 F7A7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20061217/2bb4056e/signature.pgp
More information about the hal
mailing list