summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2011-07-18 20:57:07 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2011-07-18 20:57:07 +0200
commit9c24ac75e52b38872786ddf1c2c84fbbd909a3d6 (patch)
tree662d08d05ac2869bf9ad14a40b20ea1c76b118dd
parentcaafcae84d34f45a32f996642ae2e3b13932b6f6 (diff)
downloadportato-master.tar.gz
portato-master.tar.bz2
portato-master.zip
Updated cython files to include new header locationsHEADmaster
Diffstat (limited to '')
-rw-r--r--portato/eix/parser.pyx8
-rw-r--r--portato/ipc.pxd6
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