diff options
Diffstat (limited to 'libraries/libopensync/patches/libopensync-0.22-swig-typeerror.patch')
-rw-r--r-- | libraries/libopensync/patches/libopensync-0.22-swig-typeerror.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libraries/libopensync/patches/libopensync-0.22-swig-typeerror.patch b/libraries/libopensync/patches/libopensync-0.22-swig-typeerror.patch deleted file mode 100644 index b1e42f3944..0000000000 --- a/libraries/libopensync/patches/libopensync-0.22-swig-typeerror.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/wrapper/opensync.i b/wrapper/opensync.i -index 623c0f4..8131158 100644 ---- a/wrapper/opensync.i -+++ b/wrapper/opensync.i -@@ -82,7 +82,7 @@ typedef struct {} OSyncHashTable; - %extend OSyncChange { - OSyncChange(PyObject *obj=NULL) { - OSyncChange *change = NULL; -- if (obj) -+ if ((obj) && (obj != Py_None)) - change = (OSyncChange *)PyCObject_AsVoidPtr(obj); - else - change = osync_change_new(); |