fix logic bug in platform module API version check

(cherry picked from commit 2bb23f00af)
This commit is contained in:
Thomas Waldmann 2018-07-08 14:48:16 +02:00
parent 480e5402ba
commit 5c71c4f990
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ def check_extension_modules():
raise ExtensionModuleError raise ExtensionModuleError
if borg.crypto.low_level.API_VERSION != '1.1_02': if borg.crypto.low_level.API_VERSION != '1.1_02':
raise ExtensionModuleError 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 raise ExtensionModuleError
if item.API_VERSION != '1.1_02': if item.API_VERSION != '1.1_02':
raise ExtensionModuleError raise ExtensionModuleError