Skip to content

Commit

Permalink
Core: more correct
Browse files Browse the repository at this point in the history
  • Loading branch information
LifeDJIK committed Mar 21, 2024
1 parent 308cf3b commit e059270
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pylon/core/tools/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ def clone( # pylint: disable=R0913,R0912,R0914,R0915
except: # pylint: disable=W0702
# Get tag
try:
commit_tree = repository[b"refs/tags/" + branch_b].object[0]
tag_obj = repository[b"refs/tags/" + branch_b]
commit_tree = repository[tag_obj.object[1]]
log.info("Found target: tag")
except: # pylint: disable=W0702
commit_tree = None
Expand Down

0 comments on commit e059270

Please sign in to comment.