From 7dbbdbdef4907a7350d02f0f0fae44d4f77462df Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Sep 10 2024 16:22:45 +0000 Subject: Set stabilization if any branch is in stabilization (CS-2523) Signed-off-by: Troy Dawson --- diff --git a/src/centpkg/utils.py b/src/centpkg/utils.py index 4a420f9..4c80e75 100644 --- a/src/centpkg/utils.py +++ b/src/centpkg/utils.py @@ -399,6 +399,7 @@ def determine_active_y_version(rhel_version, api_url): active_y_version = -1 beta = False + in_exception_phase = False for entry in payload: shortname = entry["shortname"] @@ -410,7 +411,8 @@ def determine_active_y_version(rhel_version, api_url): active_y_version = y_version beta = bool(extra_version and "beta" in extra_version) - in_exception_phase = entry["phase"] == 450 + if not in_exception_phase: + in_exception_phase = entry["phase"] == 450 logger.debug( "Active Y-stream: {}, Enforcing: {}, Beta: {}".format(