diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2011-07-18 20:57:07 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2011-07-18 20:57:07 +0200 |
commit | 9c24ac75e52b38872786ddf1c2c84fbbd909a3d6 (patch) | |
tree | 662d08d05ac2869bf9ad14a40b20ea1c76b118dd | |
parent | caafcae84d34f45a32f996642ae2e3b13932b6f6 (diff) | |
download | portato-9c24ac75e52b38872786ddf1c2c84fbbd909a3d6.tar.gz portato-9c24ac75e52b38872786ddf1c2c84fbbd909a3d6.tar.bz2 portato-9c24ac75e52b38872786ddf1c2c84fbbd909a3d6.zip |
-rw-r--r-- | portato/eix/parser.pyx | 8 | ||||
-rw-r--r-- | portato/ipc.pxd | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/portato/eix/parser.pyx b/portato/eix/parser.pyx index a6bcc96..d72e052 100644 --- a/portato/eix/parser.pyx +++ b/portato/eix/parser.pyx @@ -36,10 +36,10 @@ cdef extern from "Python.h": ctypedef unsigned char UChar ctypedef long long LLong -from python_unicode cimport PyUnicode_DecodeUTF8 -from python_mem cimport PyMem_Malloc, PyMem_Free -from python_exc cimport PyErr_NoMemory -from python_string cimport PyString_FromStringAndSize +from cpython.unicode cimport PyUnicode_DecodeUTF8 +from cpython.mem cimport PyMem_Malloc, PyMem_Free +from cpython.exc cimport PyErr_NoMemory +from cpython.string cimport PyString_FromStringAndSize from portato.eix.exceptions import EndOfFileException diff --git a/portato/ipc.pxd b/portato/ipc.pxd index 5bcddd1..b15fe0c 100644 --- a/portato/ipc.pxd +++ b/portato/ipc.pxd @@ -10,9 +10,9 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -from python_string cimport * -from python_mem cimport PyMem_Malloc, PyMem_Free -from python_exc cimport PyErr_NoMemory +from cpython.string cimport * +from cpython.mem cimport PyMem_Malloc, PyMem_Free +from cpython.exc cimport PyErr_NoMemory cdef extern from "errno.h": int errno |