dbus/python dbus_bindings.pyx.in,1.24,1.25

John Palmieri johnp at freedesktop.org
Thu May 19 13:27:22 PDT 2005


Update of /cvs/dbus/dbus/python
In directory gabe:/tmp/cvs-serv21093/python

Modified Files:
	dbus_bindings.pyx.in 
Log Message:
- s/TYPE_PATH/TYPE_OBJECT_PATH


Index: dbus_bindings.pyx.in
===================================================================
RCS file: /cvs/dbus/dbus/python/dbus_bindings.pyx.in,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- dbus_bindings.pyx.in	1 May 2005 19:34:58 -0000	1.24
+++ dbus_bindings.pyx.in	19 May 2005 20:27:19 -0000	1.25
@@ -785,7 +785,7 @@
             ret = str(chr(TYPE_ARRAY))
             ret = ret + self.python_value_to_dbus_sig(value[0], level)
         elif isinstance(value, ObjectPath):
-            ret = TYPE_PATH
+            ret = TYPE_OBJECT_PATH
             ret = str(chr(ret))
         elif isinstance(ByteArray):
             ret = str(chr(TYPE_ARRAY)) + str(chr(TYPE_BYTE))
@@ -958,7 +958,7 @@
     def append_object_path(self, value):
         cdef char *c_value
         c_value = value
-        return dbus_message_iter_append_basic(self.iter, TYPE_PATH, <char **>&c_value)
+        return dbus_message_iter_append_basic(self.iter, TYPE_OBJECT_PATH, <char **>&c_value)
 
     def append_signature(self, value):
         cdef char *c_value



More information about the dbus-commit mailing list