mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 00:02:57 +00:00
Improve comment around unsupported prior release
It turns out that this also properly deals with Beta branches that are past the Launch Phase, so this updates the comment to note that this is the expected behavior here. Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
30bc612ab5
commit
f1f890aa96
1 changed files with 4 additions and 3 deletions
|
@ -643,9 +643,10 @@ def determine_rhel_state(
|
|||
# Determine which phase the prior release is in:
|
||||
prior_release_phase = phase_lookup[prior_release_branch]
|
||||
|
||||
# If the prior release is in the Unsupported Phase, it probably means
|
||||
# that we're dealing with an EOL CentOS Stream (like 8.10). We need
|
||||
# to use the stream rules in this case.
|
||||
# If the prior release is in the Unsupported Phase, it either means
|
||||
# that we're dealing with an EOL CentOS Stream (like 8.10) or else
|
||||
# the prior release was a Beta which is past the Launch Phase. We
|
||||
# need to use the stream rules in this case.
|
||||
prior_is_eol = bool(prior_release_phase == pp_phase_unsupported)
|
||||
|
||||
if not prior_is_eol:
|
||||
|
|
Loading…
Add table
Reference in a new issue