Merge pull request #1668 from ThomasWaldmann/bump-hashindex-version-master

hashindex: bump api_version
This commit is contained in:
enkore 2016-10-01 10:30:48 +02:00 committed by GitHub
commit 24feaf35dc
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ from libc.stdint cimport uint32_t, UINT32_MAX, uint64_t
from libc.errno cimport errno
from cpython.exc cimport PyErr_SetFromErrnoWithFilename
API_VERSION = 3
API_VERSION = 4
cdef extern from "_hashindex.c":

View File

@ -85,7 +85,7 @@ class PlaceholderError(Error):
def check_extension_modules():
from . import platform, compress
if hashindex.API_VERSION != 3:
if hashindex.API_VERSION != 4:
raise ExtensionModuleError
if chunker.API_VERSION != 2:
raise ExtensionModuleError