From f43ac2ef576bd0bbea7480f4e826b5cc3ab8ecd3 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Tue, 31 May 2022 14:31:29 +0200 Subject: [PATCH] Fix match evaluation --- alibuild_helpers/utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alibuild_helpers/utilities.py b/alibuild_helpers/utilities.py index 28333fd5..a7d55452 100644 --- a/alibuild_helpers/utilities.py +++ b/alibuild_helpers/utilities.py @@ -468,7 +468,7 @@ def getPackageList(packages, specs, configDir, preferSystem, noSystem, architectureREMatches = re.match(architectureRE, architecture) except: dieOnError(True, "Malformed entry architecture: %s in %s" % (architecture, spec["package"])) - if architectureREMatches == "False": + if not architectureREMatches: disable.append(spec["package"]) # If --always-prefer-system is passed or if prefer_system is set to true