From 8df6cb8156a810c675b12bc86073979fa4593bab Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 30 Sep 2016 23:59:41 +0200 Subject: [PATCH] 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. --- src/borg/hashindex.pyx | 2 +- src/borg/helpers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/borg/hashindex.pyx b/src/borg/hashindex.pyx index 857b19360..dd224f522 100644 --- a/src/borg/hashindex.pyx +++ b/src/borg/hashindex.pyx @@ -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": diff --git a/src/borg/helpers.py b/src/borg/helpers.py index 4c6b939cf..8a3017f54 100644 --- a/src/borg/helpers.py +++ b/src/borg/helpers.py @@ -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