new D-Bus python binding

Dimitur Kirov dkirov at gmail.com
Sun Jul 17 00:11:39 EST 2005


Seems like "multipart/mixed" is not accepted by the list:
> Hi, just saw that there are two bugs, that are not included in the new
> 0.35.1 release. First is import of obsolete module, second I suppose a
> typo: call to undefined var.
> 
> I didn't manage to handle a signal, both ways with "connect_to_signal"
> and "add_signal_receiver". Will continue to test though - maybe it is
> because of those two errors. Everything else works fine.
> 
> 



diff -ruN dbus-0.35.1.orig/python/_dbus.py dbus-0.35.1/python/_dbus.py
--- dbus-0.35.1.orig/python/_dbus.py    2005-07-16 16:56:37.000000000
+0300
+++ dbus-0.35.1/python/_dbus.py 2005-07-16 16:58:09.000000000 +0300
@@ -46,7 +46,6 @@
 import dbus
 from proxies import *
 from exceptions import *
-from services import *
 from matchrules import *
 
 import re
diff -ruN dbus-0.35.1.orig/python/service.py
dbus-0.35.1/python/service.py
--- dbus-0.35.1.orig/python/service.py  2005-07-16 16:56:37.000000000
+0300
+++ dbus-0.35.1/python/service.py       2005-07-16 16:57:15.000000000
+0300
@@ -154,7 +154,7 @@
     def __init__(self, bus_name, object_path):
         self._object_path = object_path
         self._name = bus_name 
-        self._bus = name.get_bus()
+        self._bus = bus_name.get_bus()
             
         self._connection = self._bus.get_connection()

 
> Regards,
--
Dimitur Kirov <dkirov at gmail.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050716/4505c0df/attachment.pgp


More information about the dbus mailing list