Skip to content

Commit f43ac2e

Browse files
TimoWilkensingiamtel
authored andcommitted
Fix match evaluation
1 parent c362489 commit f43ac2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

alibuild_helpers/utilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def getPackageList(packages, specs, configDir, preferSystem, noSystem,
468468
architectureREMatches = re.match(architectureRE, architecture)
469469
except:
470470
dieOnError(True, "Malformed entry architecture: %s in %s" % (architecture, spec["package"]))
471-
if architectureREMatches == "False":
471+
if not architectureREMatches:
472472
disable.append(spec["package"])
473473

474474
# If --always-prefer-system is passed or if prefer_system is set to true

0 commit comments

Comments
 (0)