]> git.pld-linux.org Git - packages/dbus.git/commitdiff
- fix dbus serializer Python type definitions
authorjpc <jpc@pld-linux.org>
Tue, 2 Aug 2005 16:17:57 +0000 (16:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dbus-python_types.patch -> 1.1

dbus-python_types.patch [new file with mode: 0644]

diff --git a/dbus-python_types.patch b/dbus-python_types.patch
new file mode 100644 (file)
index 0000000..7ac47db
--- /dev/null
@@ -0,0 +1,92 @@
+--- dbus-0.35.2-old/python/dbus_bindings.pyx   2005-08-02 16:50:14.578553928 +0200
++++ dbus-0.35.2/python/dbus_bindings.pyx       2005-08-02 16:49:21.336647928 +0200
+@@ -74,73 +74,73 @@
+ class ObjectPath(str):
+     def __init__(self, value):
+-        str.__init__(value)
++        str.__init__(self, value)
+ class ByteArray(str):
+     def __init__(self, value):
+-        str.__init__(value)
++        str.__init__(self, value)
+ class Signature(str):
+     def __init__(self, value):
+-        str.__init__(value)
++        str.__init__(self, value)
+ class Byte(int):
+     def __init__(self, value):
+-        int.__init__(value)
++        int.__init__(self, value)
+ class Boolean(int):
+     def __init__(self, value):
+-        int.__init__(value)
++        int.__init__(self, value)
+ class Int16(int):
+     def __init__(self, value):
+-        int.__init__(value)
++        int.__init__(self, value)
+ class UInt16(int):
+     def __init__(self, value):
+         if value < 0:
+             raise TypeError('Unsigned integers must not have a negitive value') 
+-        int.__init__(value)
++        int.__init__(self, value)
+ class Int32(int):
+     def __init__(self, value):
+-        int.__init__(value)
++        int.__init__(self, value)
+ class UInt32(long):
+     def __init__(self, value):
+         if value < 0:
+             raise TypeError('Unsigned integers must not have a negitive value') 
+-        long.__init__(value)
++        long.__init__(self, value)
+ class Int64(long):
+     def __init__(self, value):
+-        long.__init__(value)
++        long.__init__(self, value)
+ class UInt64(long):
+     def __init__(self, value):
+         if value < 0:
+             raise TypeError('Unsigned integers must not have a negitive value') 
+-        long.__init__(value)
++        long.__init__(self, value)
+ class Double(float):
+     def __init__(self, value):
+-        float.__init__(self, value)
++        float.__init__(self, self, value)
+ class String(str):
+     def __init__(self, value):
+-        str.__init__(value)
++        str.__init__(self, value)
+ class Array(list):
+     def __init__(self, value):
+-        list.__init__(value)
++        list.__init__(self, value)
+ class Struct(tuple):
+     def __init__(self, value):
+-        tuple.__init__(value)
++        tuple.__init__(self, value)
+ class Dictionary(dict):
+     def __init__(self, value):
+-        dict.__init__(value)
++        dict.__init__(self, value)
+ #forward delcerations
+ cdef class Message
This page took 1.113291 seconds and 4 git commands to generate.