diff options
Diffstat (limited to 'cython/imobiledevice.pyx')
| -rw-r--r-- | cython/imobiledevice.pyx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cython/imobiledevice.pyx b/cython/imobiledevice.pyx index ffaa3c1..9d2e13d 100644 --- a/cython/imobiledevice.pyx +++ b/cython/imobiledevice.pyx | |||
| @@ -25,9 +25,8 @@ cdef class Base: | |||
| 25 | return 0 | 25 | return 0 |
| 26 | cdef BaseError err = self._error(ret) | 26 | cdef BaseError err = self._error(ret) |
| 27 | raise err | 27 | raise err |
| 28 | return -1 | ||
| 29 | 28 | ||
| 30 | cdef inline BaseError _error(self, int16_t ret): pass | 29 | cdef BaseError _error(self, int16_t ret): pass |
| 31 | 30 | ||
| 32 | cdef extern from "libimobiledevice/libimobiledevice.h": | 31 | cdef extern from "libimobiledevice/libimobiledevice.h": |
| 33 | ctypedef enum idevice_error_t: | 32 | ctypedef enum idevice_error_t: |
| @@ -211,10 +210,10 @@ cdef class PropertyListService(BaseService): | |||
| 211 | plist.plist_free(c_node) | 210 | plist.plist_free(c_node) |
| 212 | raise | 211 | raise |
| 213 | 212 | ||
| 214 | cdef inline int16_t _send(self, plist.plist_t node): | 213 | cdef int16_t _send(self, plist.plist_t node): |
| 215 | raise NotImplementedError("send is not implemented") | 214 | raise NotImplementedError("send is not implemented") |
| 216 | 215 | ||
| 217 | cdef inline int16_t _receive(self, plist.plist_t* c_node): | 216 | cdef int16_t _receive(self, plist.plist_t* c_node): |
| 218 | raise NotImplementedError("receive is not implemented") | 217 | raise NotImplementedError("receive is not implemented") |
| 219 | 218 | ||
| 220 | cdef class DeviceLinkService(PropertyListService): | 219 | cdef class DeviceLinkService(PropertyListService): |
