diff --git a/src/centpkg/utils.py b/src/centpkg/utils.py index b42b2ea..e17d0d3 100644 --- a/src/centpkg/utils.py +++ b/src/centpkg/utils.py @@ -412,12 +412,15 @@ def determine_active_y_version(rhel_version, pp_api_url): # Now look up whether we are in the Exception Phase for this Y-stream release request_params = { - "name__regex": "Exception Phase", + "name__regex": "(Excep|Stabiliza)tion Phase", "format": "json", } res = requests.get(os.path.join(pp_api_url, "latest", "releases", str(release_id), "schedule-tasks"), params=request_params) res.raise_for_status() payload = json.loads(res.text) + logger.debug( + "Response from phase lookup: {}".format(json.dumps(payload, indent=2)) + ) # This lookup *must* return exactly one value or the Product Pages are # wrong and must be fixed.