Skip to content

Commit

Permalink
fix in branch name documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
delgadom committed Dec 21, 2022
1 parent 3f3185c commit ac7bbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rhg_compute_tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ def get_repo_state(repository_root : [str, None] = None) -> dict:

try:
# this fails on shallow clones
state["repo_active_branch"] = repo.active_branch
state["repo_active_branch"] = str(repo.active_branch.name)
except Exception:
pass

Expand Down

0 comments on commit ac7bbd0

Please sign in to comment.