mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-04 18:48:43 +00:00
hashindex: bump api_version
note: merging the respective changeset from 1.0-maint was not effective as we already had version 3, so there was no increase.
This commit is contained in:
parent
d1b5587321
commit
8df6cb8156
2 changed files with 2 additions and 2 deletions
|
@ -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":
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue