mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-24 00:32:55 +00:00
Use correct format for divergent_branch
Signed-off-by: Troy Dawson <tdawson@redhat.com>
This commit is contained in:
parent
6b939c428f
commit
874d108037
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
divergent_branch = active_y - 1
|
||||
divergent_branch = "{}.{}.0".format(rhel_version, active_y - 1)
|
||||
logger.debug("Divergent branch: {}".format(divergent_branch))
|
||||
|
||||
g = gitpython.cmd.Git()
|
||||
|
|
Loading…
Add table
Reference in a new issue