diff options
| author | David Zeuthen <davidz@redhat.com> | 2003-10-15 21:25:13 +0000 | 
|---|---|---|
| committer | David Zeuthen <davidz@redhat.com> | 2003-10-15 21:25:13 +0000 | 
| commit | 9b9dd4b80eb2753fc67bed1f48eef89674ba968e (patch) | |
| tree | e04186787d76b13d03724142fece0fb9d98b2a49 | |
| parent | cd077dc8f2a8876f7ce50229e855d138b8310a0e (diff) | |
2003-10-14  David Zeuthen  <david@fubar.dk>
        * python/dbus_bindings.pyx.in (MessageIter.get): fixed typo in
        argtype to arg_type when raising unknown arg type exception.
        Changed type list to reflect the changes in dbus-protocol.h so
        the bindings actually work.
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | python/dbus_bindings.pyx.in | 4 | 
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2003-10-14  David Zeuthen  <david@fubar.dk> + +	* python/dbus_bindings.pyx.in (MessageIter.get): fixed typo in +	argtype to arg_type when raising unknown arg type exception. +	Changed type list to reflect the changes in dbus-protocol.h so  +	the bindings actually work. +  2003-10-14  Havoc Pennington  <hp@redhat.com>  	* test/decode-gcov.c: support gcc 3.3 also, though gcc 3.3 seems diff --git a/python/dbus_bindings.pyx.in b/python/dbus_bindings.pyx.in index 4ae056c5..7127ece4 100644 --- a/python/dbus_bindings.pyx.in +++ b/python/dbus_bindings.pyx.in @@ -429,7 +429,7 @@ cdef class MessageIter:              else:                  raise TypeError, "Unknown array type %d in MessageIter" % (array_type)          else: -            raise TypeError, 'Unknown arg type %d in MessageIter' % (argtype) +            raise TypeError, 'Unknown arg type %d in MessageIter' % (arg_type)          return retval @@ -569,7 +569,7 @@ cdef class MessageIter:  (MESSAGE_TYPE_INVALID, MESSAGE_TYPE_METHOD_CALL, MESSAGE_TYPE_METHOD_RETURN, MESSAGE_TYPE_ERROR, MESSAGE_TYPE_SIGNAL) = range(5) -(TYPE_INVALID, TYPE_NIL, TYPE_BYTE, TYPE_BOOLEAN, TYPE_INT32, TYPE_UINT32, TYPE_INT64, TYPE_UINT64, TYPE_DOUBLE, TYPE_STRING, TYPE_NAMED, TYPE_ARRAY, TYPE_DICT, TYPE_OBJECT_PATH) = range(14) +(TYPE_INVALID, TYPE_NIL, TYPE_BYTE, TYPE_BOOLEAN, TYPE_INT32, TYPE_UINT32, TYPE_INT64, TYPE_UINT64, TYPE_DOUBLE, TYPE_STRING, TYPE_NAMED, TYPE_ARRAY, TYPE_DICT, TYPE_OBJECT_PATH) = (0, 118, 121, 98, 105, 117, 120, 116, 100, 115, 110, 97, 99, 111)  cdef class Message:      cdef DBusMessage *msg  | 
