diff options
| author | 2012-05-17 15:44:31 +0200 | |
|---|---|---|
| committer | 2012-05-17 15:44:31 +0200 | |
| commit | 84235e0834e57551028329723f4510e1dbe7bc11 (patch) | |
| tree | 5cc9820c8954cec6bfc4758b6b8474932087dfdd /cython/imobiledevice.pyx | |
| parent | 70dfe8ad1766990386f1db04bbe5a4826bcde4e5 (diff) | |
| download | libimobiledevice-84235e0834e57551028329723f4510e1dbe7bc11.tar.gz libimobiledevice-84235e0834e57551028329723f4510e1dbe7bc11.tar.bz2 | |
cython: Do not override final methods as comply to Cython >= 0.16 strict check
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): |
