Use correct format for divergent_branch

Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
Troy Dawson 2023-08-28 15:45:03 -07:00
parent 6b939c428f
commit 874d108037

View file

@ -291,7 +291,7 @@ def does_divergent_branch_exist(repo_name, rhel_version, active_y, rhel_dist_git
# Determine if the Y-1 branch exists for this repo # Determine if the Y-1 branch exists for this repo
divergent_branch = active_y - 1 divergent_branch = "{}.{}.0".format(rhel_version, active_y - 1)
logger.debug("Divergent branch: {}".format(divergent_branch)) logger.debug("Divergent branch: {}".format(divergent_branch))
g = gitpython.cmd.Git() g = gitpython.cmd.Git()