1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-22 06:01:54 +00:00

Merge pull request #3973 from ThomasWaldmann/fix-ext-version-check-1.1

fix logic bug in platform module API version check (1.1 bp)
This commit is contained in:
TW 2018-07-08 15:12:00 +02:00 committed by GitHub
commit 9db024c884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,7 +139,7 @@ def check_extension_modules():
raise ExtensionModuleError
if borg.crypto.low_level.API_VERSION != '1.1_02':
raise ExtensionModuleError
if platform.API_VERSION != platform.OS_API_VERSION != '1.1_03':
if platform.API_VERSION != platform.OS_API_VERSION or platform.API_VERSION != '1.1_03':
raise ExtensionModuleError
if item.API_VERSION != '1.1_02':
raise ExtensionModuleError